#8F6FF2#8F6FF2
#8F6FF2 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.6% C 0.189 H 291.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8F6FF2 |
|---|---|
| RGB | rgb(143, 111, 242) |
| HSL | hsl(255, 83%, 69%) |
| HSV | hsv(255, 54%, 95%) |
| CMYK | cmyk(40.9%, 54.1%, 0%, 5.1%) |
| CIE-LAB | lab(55.70, 42.48, -61.82) |
| CIE-LCH | lch(55.70, 75.01, 304.49°) |
| OKLab | oklab(63.57% 0.0687 -0.1757) |
| OKLCH | oklch(63.57% 0.189 291.3) |
| XYZ | xyz(33.0348, 23.6183, 86.8054) |
| Luminance | 0.2362 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.77
Mediumslateblue
#7B68EE
ΔE00 4.04
Periwinkle (survey)
#8E82FE
ΔE00 5.77
Lighter Purple
#A55AF4
ΔE00 6.29
Light Urple
#B36FF6
ΔE00 6.65
Purpley
#8756E4
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F6FF2 #D2F26F
analogous
#6F91F2 #8F6FF2 #D06FF2
triadic
#8F6FF2 #F28F6F #6FF28F
tetradic
#8F6FF2 #F26F91 #D2F26F #6FF2D0
square
#8F6FF2 #F26F91 #D2F26F #6FF2D0
split-complementary
#8F6FF2 #F2D06F #91F26F
monochromatic
#4213D4 #6337ED #8F6FF2 #BBA7F7 #E6DFFC
Accessibility & contrast
On white
3.67
#8F6FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#8F6FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F6FF2
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F6FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F6FF2 | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E88F6
Deuteranopia (green-blind)
#3583EF
Tritanopia (blue-blind)
#748BA6
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8f6ff2; /* rgb */ color: rgb(143, 111, 242); /* oklch */ color: oklch(63.6% 0.189 291.3);
Tailwind
colors: {
custom: {
50: '#b599f7',
500: '#8f6ff2',
950: '#000000',
},
}SCSS
$custom: #8f6ff2; $custom-light: #b599f7; $custom-dark: #000000;
JSON
{
"hex": "#8f6ff2",
"rgb": {
"r": 143,
"g": 111,
"b": 242
},
"hsl": {
"h": 254.656,
"s": 83.439,
"l": 69.216
},
"oklch": {
"l": 0.63572,
"c": 0.18868,
"h": 291.3
},
"luminance": 0.23619
}Semantic roles & 50–950 ramp
primary
#8F6FF2
secondary
#E8F1CB
accent
#E006AB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85