#8862CF#8862CF
#8862CF is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.6% C 0.163 H 297.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8862CF |
|---|---|
| RGB | rgb(136, 98, 207) |
| HSL | hsl(261, 53%, 60%) |
| HSV | hsv(261, 53%, 81%) |
| CMYK | cmyk(34.3%, 52.7%, 0%, 18.8%) |
| CIE-LAB | lab(50.07, 38.89, -51.17) |
| CIE-LCH | lch(50.07, 64.27, 307.24°) |
| OKLab | oklab(58.57% 0.0744 -0.1447) |
| OKLCH | oklch(58.57% 0.163 297.2) |
| XYZ | xyz(25.7807, 18.4743, 61.2270) |
| Luminance | 0.1847 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.40
Mediumpurple
#9370DB
ΔE00 4.88
Deep Lavender
#8D5EB7
ΔE00 4.90
Amethyst
#9B5FC0
ΔE00 5.54
Light Indigo
#6D5ACF
ΔE00 5.82
Mediumslateblue
#7B68EE
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8862CF #A9CF62
analogous
#6273CF #8862CF #BE62CF
triadic
#8862CF #CF8862 #62CF88
tetradic
#8862CF #CF6273 #A9CF62 #62CFBE
square
#8862CF #CF6273 #A9CF62 #62CFBE
split-complementary
#8862CF #CFBE62 #73CF62
monochromatic
#4D2B8C #6639BB #8862CF #AC91DD #CFC0EC
Accessibility & contrast
On white
4.47
#8862CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#8862CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8862CF
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8862CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8862CF | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3777D3
Deuteranopia (green-blind)
#4176CC
Tritanopia (blue-blind)
#78788F
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #8862cf; /* rgb */ color: rgb(136, 98, 207); /* oklch */ color: oklch(58.6% 0.163 297.2);
Tailwind
colors: {
custom: {
50: '#ae90de',
500: '#8862cf',
950: '#000000',
},
}SCSS
$custom: #8862cf; $custom-light: #ae90de; $custom-dark: #000000;
JSON
{
"hex": "#8862cf",
"rgb": {
"r": 136,
"g": 98,
"b": 207
},
"hsl": {
"h": 260.917,
"s": 53.171,
"l": 59.804
},
"oklch": {
"l": 0.58567,
"c": 0.16268,
"h": 297.2
},
"luminance": 0.18475
}Semantic roles & 50–950 ramp
primary
#8862CF
secondary
#CDDBB1
accent
#DD4BAA
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83