#8838C2#8838C2
#8838C2 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.8% C 0.206 H 307.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8838C2 |
|---|---|
| RGB | rgb(136, 56, 194) |
| HSL | hsl(275, 55%, 49%) |
| HSV | hsv(275, 71%, 76%) |
| CMYK | cmyk(29.9%, 71.1%, 0%, 23.9%) |
| CIE-LAB | lab(41.15, 57.39, -58.01) |
| CIE-LCH | lch(41.15, 81.60, 314.69°) |
| OKLab | oklab(51.82% 0.1243 -0.1646) |
| OKLCH | oklch(51.82% 0.206 307) |
| XYZ | xyz(21.3030, 11.9579, 52.2143) |
| Luminance | 0.1196 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.04
Blueviolet
#8A2BE2
ΔE00 4.42
Darkviolet
#9400D3
ΔE00 4.78
Purply
#983FB2
ΔE00 5.05
Violet (survey)
#9A0EEA
ΔE00 5.84
Vibrant Purple
#AD03DE
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8838C2 #72C238
analogous
#4338C2 #8838C2 #C238B7
triadic
#8838C2 #C28838 #38C288
tetradic
#8838C2 #C24338 #72C238 #38B7C2
square
#8838C2 #C24338 #72C238 #38B7C2
split-complementary
#8838C2 #B7C238 #38C243
monochromatic
#451D63 #672A93 #8838C2 #A465D2 #C094E0
Accessibility & contrast
On white
6.19
#8838C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#8838C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8838C2
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8838C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8838C2 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0562BF
Tritanopia (blue-blind)
#7E5879
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8838c2; /* rgb */ color: rgb(136, 56, 194); /* oklch */ color: oklch(51.8% 0.206 307.0);
Tailwind
colors: {
custom: {
50: '#b075d5',
500: '#8838c2',
950: '#000000',
},
}SCSS
$custom: #8838c2; $custom-light: #b075d5; $custom-dark: #000000;
JSON
{
"hex": "#8838c2",
"rgb": {
"r": 136,
"g": 56,
"b": 194
},
"hsl": {
"h": 274.783,
"s": 55.2,
"l": 49.02
},
"oklch": {
"l": 0.51815,
"c": 0.20627,
"h": 307
},
"luminance": 0.11958
}Semantic roles & 50–950 ramp
primary
#8838C2
secondary
#A6CB8A
accent
#DF4988
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83