#8F6BF2#8F6BF2
#8F6BF2 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.9% C 0.194 H 292.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #8F6BF2 |
|---|---|
| RGB | rgb(143, 107, 242) |
| HSL | hsl(256, 84%, 68%) |
| HSV | hsv(256, 56%, 95%) |
| CMYK | cmyk(40.9%, 55.8%, 0%, 5.1%) |
| CIE-LAB | lab(54.83, 44.73, -63.23) |
| CIE-LCH | lch(54.83, 77.45, 305.27°) |
| OKLab | oklab(62.93% 0.0733 -0.1799) |
| OKLCH | oklch(62.93% 0.194 292.2) |
| XYZ | xyz(32.6080, 22.7649, 86.6632) |
| Luminance | 0.2277 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.68
Mediumpurple
#9370DB
ΔE00 3.95
Lighter Purple
#A55AF4
ΔE00 5.43
Purpley
#8756E4
ΔE00 6.39
Light Urple
#B36FF6
ΔE00 6.71
Periwinkle (survey)
#8E82FE
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F6BF2 #CEF26B
analogous
#6B8AF2 #8F6BF2 #D26BF2
triadic
#8F6BF2 #F28F6B #6BF28F
tetradic
#8F6BF2 #F26B8A #CEF26B #6BF2D2
square
#8F6BF2 #F26B8A #CEF26B #6BF2D2
split-complementary
#8F6BF2 #F2D26B #8AF26B
monochromatic
#4512D0 #6433ED #8F6BF2 #BAA3F7 #E4DCFC
Accessibility & contrast
On white
3.78
#8F6BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#8F6BF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F6BF2
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F6BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F6BF2 | 1.00 | 3.78 | 5.55 | 5.55 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2085F7
Deuteranopia (green-blind)
#2C81EF
Tritanopia (blue-blind)
#7488A4
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8f6bf2; /* rgb */ color: rgb(143, 107, 242); /* oklch */ color: oklch(62.9% 0.194 292.2);
Tailwind
colors: {
custom: {
50: '#b596f7',
500: '#8f6bf2',
950: '#000000',
},
}SCSS
$custom: #8f6bf2; $custom-light: #b596f7; $custom-dark: #000000;
JSON
{
"hex": "#8f6bf2",
"rgb": {
"r": 143,
"g": 107,
"b": 242
},
"hsl": {
"h": 256,
"s": 83.851,
"l": 68.431
},
"oklch": {
"l": 0.62926,
"c": 0.19425,
"h": 292.2
},
"luminance": 0.22766
}Semantic roles & 50–950 ramp
primary
#8F6BF2
secondary
#E6F1C8
accent
#E005A6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D17
muted
#817E85