#8F3DC0#8F3DC0
#8F3DC0 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.1% C 0.200 H 310.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8F3DC0 |
|---|---|
| RGB | rgb(143, 61, 192) |
| HSL | hsl(278, 52%, 50%) |
| HSV | hsv(278, 68%, 75%) |
| CMYK | cmyk(25.5%, 68.2%, 0%, 24.7%) |
| CIE-LAB | lab(42.74, 56.16, -54.23) |
| CIE-LCH | lch(42.74, 78.07, 316.00°) |
| OKLab | oklab(53.1% 0.1285 -0.1533) |
| OKLCH | oklch(53.1% 0.2 310) |
| XYZ | xyz(22.5090, 12.9834, 51.1792) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.42
Purply
#983FB2
ΔE00 3.45
Blueviolet
#8A2BE2
ΔE00 5.45
Darkviolet
#9400D3
ΔE00 5.81
Barney
#AC1DB8
ΔE00 6.14
Vibrant Purple
#AD03DE
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F3DC0 #6EC03D
analogous
#4D3DC0 #8F3DC0 #C03DB0
triadic
#8F3DC0 #C08F3D #3DC08F
tetradic
#8F3DC0 #C04D3D #6EC03D #3DB0C0
square
#8F3DC0 #C04D3D #6EC03D #3DB0C0
split-complementary
#8F3DC0 #B0C03D #3DC04D
monochromatic
#4A1F63 #6C2E92 #8F3DC0 #AA6AD0 #C499DF
Accessibility & contrast
On white
5.84
#8F3DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#8F3DC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F3DC0
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F3DC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F3DC0 | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#2866BD
Tritanopia (blue-blind)
#88597A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8f3dc0; /* rgb */ color: rgb(143, 61, 192); /* oklch */ color: oklch(53.1% 0.200 310.0);
Tailwind
colors: {
custom: {
50: '#b479d4',
500: '#8f3dc0',
950: '#000000',
},
}SCSS
$custom: #8f3dc0; $custom-light: #b479d4; $custom-dark: #000000;
JSON
{
"hex": "#8f3dc0",
"rgb": {
"r": 143,
"g": 61,
"b": 192
},
"hsl": {
"h": 277.557,
"s": 51.779,
"l": 49.608
},
"oklch": {
"l": 0.53104,
"c": 0.20008,
"h": 310
},
"luminance": 0.12983
}Semantic roles & 50–950 ramp
primary
#8F3DC0
secondary
#A5CA8E
accent
#DB4D82
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83