#8838C6#8838C6
#8838C6 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.210 H 306.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8838C6 |
|---|---|
| RGB | rgb(136, 56, 198) |
| HSL | hsl(274, 56%, 50%) |
| HSV | hsv(274, 72%, 78%) |
| CMYK | cmyk(31.3%, 71.7%, 0%, 22.4%) |
| CIE-LAB | lab(41.44, 58.29, -59.88) |
| CIE-LCH | lch(41.44, 83.56, 314.23°) |
| OKLab | oklab(52.11% 0.1236 -0.1701) |
| OKLCH | oklch(52.11% 0.21 306) |
| XYZ | xyz(21.7583, 12.1400, 54.6121) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.94
Blueviolet
#8A2BE2
ΔE00 3.87
Darkviolet
#9400D3
ΔE00 4.65
Violet (survey)
#9A0EEA
ΔE00 5.41
Purply
#983FB2
ΔE00 5.45
Bluish Purple
#703BE7
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8838C6 #76C638
analogous
#4138C6 #8838C6 #C638BD
triadic
#8838C6 #C68838 #38C688
tetradic
#8838C6 #C64138 #76C638 #38BDC6
square
#8838C6 #C64138 #76C638 #38BDC6
split-complementary
#8838C6 #BDC638 #38C641
monochromatic
#461D67 #672B96 #8838C6 #A567D4 #C197E2
Accessibility & contrast
On white
6.13
#8838C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#8838C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8838C6
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8838C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8838C6 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#7D597C
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8838c6; /* rgb */ color: rgb(136, 56, 198); /* oklch */ color: oklch(52.1% 0.210 306.0);
Tailwind
colors: {
custom: {
50: '#b076d8',
500: '#8838c6',
950: '#000000',
},
}SCSS
$custom: #8838c6; $custom-light: #b076d8; $custom-dark: #000000;
JSON
{
"hex": "#8838c6",
"rgb": {
"r": 136,
"g": 56,
"b": 198
},
"hsl": {
"h": 273.803,
"s": 55.906,
"l": 49.804
},
"oklch": {
"l": 0.52111,
"c": 0.21029,
"h": 306
},
"luminance": 0.1214
}Semantic roles & 50–950 ramp
primary
#8838C6
secondary
#A9CD8D
accent
#DF498A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83