#8F4FDD#8F4FDD
#8F4FDD is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.4% C 0.207 H 300.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4FDD |
|---|---|
| RGB | rgb(143, 79, 221) |
| HSL | hsl(267, 68%, 59%) |
| HSV | hsv(267, 64%, 87%) |
| CMYK | cmyk(35.3%, 64.3%, 0%, 13.3%) |
| CIE-LAB | lab(47.82, 54.30, -62.73) |
| CIE-LCH | lch(47.82, 82.96, 310.88°) |
| OKLab | oklab(57.38% 0.106 -0.1784) |
| OKLCH | oklch(57.38% 0.207 300.7) |
| XYZ | xyz(27.1717, 16.6519, 70.1752) |
| Luminance | 0.1665 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.50
Lightish Purple
#A552E6
ΔE00 4.41
Lighter Purple
#A55AF4
ΔE00 6.16
Darkorchid
#9932CC
ΔE00 6.35
Blueviolet
#8A2BE2
ΔE00 6.62
Electric Purple
#AA23FF
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4FDD #9DDD4F
analogous
#4F56DD #8F4FDD #D64FDD
triadic
#8F4FDD #DD8F4F #4FDD8F
tetradic
#8F4FDD #DD4F56 #9DDD4F #4FDDD6
square
#8F4FDD #DD4F56 #9DDD4F #4FDDD6
split-complementary
#8F4FDD #DDD64F #56DD4F
monochromatic
#531D95 #6F27C8 #8F4FDD #B082E7 #D0B6F1
Accessibility & contrast
On white
4.85
#8F4FDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#8F4FDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4FDD
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4FDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4FDD | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#0B71DA
Tritanopia (blue-blind)
#7E6F8F
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8f4fdd; /* rgb */ color: rgb(143, 79, 221); /* oklch */ color: oklch(57.4% 0.207 300.7);
Tailwind
colors: {
custom: {
50: '#b584e8',
500: '#8f4fdd',
950: '#000000',
},
}SCSS
$custom: #8f4fdd; $custom-light: #b584e8; $custom-dark: #000000;
JSON
{
"hex": "#8f4fdd",
"rgb": {
"r": 143,
"g": 79,
"b": 221
},
"hsl": {
"h": 267.042,
"s": 67.619,
"l": 58.824
},
"oklch": {
"l": 0.57376,
"c": 0.20748,
"h": 300.7
},
"luminance": 0.16652
}Semantic roles & 50–950 ramp
primary
#8F4FDD
secondary
#C7E0A8
accent
#EA3D9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84