Nearest named color · #8E6D7E
#8E6D7E
Nearest named color: Opera
#8E6D7E (rgb(142 109 126), hsl(329 13% 49%), oklch(0.573 0.048 346.4)) is closest to the named color Opera. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#8E6D7E
oklch(0.573 0.048 346.4)
Color conversions
- HEX
- #8e6d7e
- RGB
- rgb(142 109 126)
- HSL
- hsl(329 13% 49%)
- HWB
- hwb(329 43% 44%)
- OKLCH
- oklch(0.573 0.048 346.4)
- OKLab
- oklab(0.573 0.047 -0.011)
- CIE Lab
- lab(49.79 15.65 -4.13)
- LCH
- lch(49.79 16.18 345.2)
- CMYK
- cmyk(0% 23% 11% 44%)
Tints · Shades · Tones
Tints
- 997B8A
- A48996
- AF97A3
- BAA5B0
- C6B4BC
- D1C2C9
- DCD1D7
- E8E0E4
- F3F0F1
Shades
- 7B5E6D
- 684F5C
- 56414C
- 44333C
- 34262D
- 24191F
- 150D11
- 070405
- 010101
Tones
- 8D6F7E
- 8C717E
- 8A737F
- 89757F
- 88777F
- 86797F
- 857A7F
- 837C80
- 827E80
Color harmonies
Complementary +180°
- 8E6D7E
Opera
- 5D8272
≈ Cutty Sark
Analogous -30° +30°
Triadic +120° +240°
Split-complementary +150° +210°
- 8E6D7E
Opera
- 6B7F63
≈ Emerald City
- 568182
≈ Rainier Blue
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 4.52:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.63:1 · APCA Lc 30
Best text color: #000000
WCAG 4.63:1 (AA) · APCA Lc 30
Contrast pairs
Code snippets
CSS
:root {
--opera: #8e6d7e;
--opera-rgb: 142 109 126;
--opera-oklch: oklch(0.573 0.048 346.4);
}
.element {
color: var(--opera);
background-color: hsl(329 13% 49%);
border-color: oklch(0.573 0.048 346.4);
}Tailwind CSS v4
@theme {
--color-opera: #8e6d7e;
--color-opera-50: #fff0f7;
--color-opera-100: #f5e2ea;
--color-opera-200: #e5ccd8;
--color-opera-300: #cbaebb;
--color-opera-400: #b593a4;
--color-opera-500: #9f7a8d;
--color-opera-600: #866777;
--color-opera-700: #6b525f;
--color-opera-800: #4f3c46;
--color-opera-900: #372931;
--color-opera-950: #22171d;
}SCSS
$opera: #8e6d7e;
$opera-rgb: 142, 109, 126;
$opera-light: mix(#fff, $opera, 20%);
$opera-dark: mix(#000, $opera, 20%);
.element {
color: $opera;
box-shadow: 0 0 0 2px rgba($opera, 0.35);
}