#8F5EF7#8F5EF7
#8F5EF7 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.3% C 0.218 H 293.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8F5EF7 |
|---|---|
| RGB | rgb(143, 94, 247) |
| HSL | hsl(259, 91%, 67%) |
| HSV | hsv(259, 62%, 97%) |
| CMYK | cmyk(42.1%, 61.9%, 0%, 3.1%) |
| CIE-LAB | lab(52.46, 53.15, -69.83) |
| CIE-LCH | lch(52.46, 87.76, 307.27°) |
| OKLab | oklab(61.3% 0.0876 -0.1993) |
| OKLCH | oklch(61.3% 0.218 293.7) |
| XYZ | xyz(32.1144, 20.5596, 90.2540) |
| Luminance | 0.2056 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.90
Lighter Purple
#A55AF4
ΔE00 3.94
Mediumslateblue
#7B68EE
ΔE00 4.41
Lightish Purple
#A552E6
ΔE00 5.44
Mediumpurple
#9370DB
ΔE00 6.24
Light Urple
#B36FF6
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F5EF7 #C6F75E
analogous
#5E79F7 #8F5EF7 #DC5EF7
triadic
#8F5EF7 #F78F5E #5EF78F
tetradic
#8F5EF7 #F75E79 #C6F75E #5EF7DC
square
#8F5EF7 #F75E79 #C6F75E #5EF7DC
split-complementary
#8F5EF7 #F7DC5E #79F75E
monochromatic
#4A0AD0 #6624F4 #8F5EF7 #B898FA #E0D3FD
Accessibility & contrast
On white
4.11
#8F5EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#8F5EF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F5EF7
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F5EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F5EF7 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FFC
Deuteranopia (green-blind)
#007AF4
Tritanopia (blue-blind)
#7381A2
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8f5ef7; /* rgb */ color: rgb(143, 94, 247); /* oklch */ color: oklch(61.3% 0.218 293.7);
Tailwind
colors: {
custom: {
50: '#b68efb',
500: '#8f5ef7',
950: '#000000',
},
}SCSS
$custom: #8f5ef7; $custom-light: #b68efb; $custom-dark: #000000;
JSON
{
"hex": "#8f5ef7",
"rgb": {
"r": 143,
"g": 94,
"b": 247
},
"hsl": {
"h": 259.216,
"s": 90.533,
"l": 66.863
},
"oklch": {
"l": 0.613,
"c": 0.21769,
"h": 293.7
},
"luminance": 0.2056
}Semantic roles & 50–950 ramp
primary
#8F5EF7
secondary
#E1F1C0
accent
#E6009C
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85