#8F3DC2#8F3DC2
#8F3DC2 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.2% C 0.202 H 309.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8F3DC2 |
|---|---|
| RGB | rgb(143, 61, 194) |
| HSL | hsl(277, 52%, 50%) |
| HSV | hsv(277, 69%, 76%) |
| CMYK | cmyk(26.3%, 68.6%, 0%, 23.9%) |
| CIE-LAB | lab(42.87, 56.60, -55.18) |
| CIE-LCH | lch(42.87, 79.05, 315.73°) |
| OKLab | oklab(53.24% 0.1283 -0.1561) |
| OKLCH | oklch(53.24% 0.202 309.4) |
| XYZ | xyz(22.7321, 13.0726, 52.3542) |
| Luminance | 0.1307 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.27
Purply
#983FB2
ΔE00 3.71
Blueviolet
#8A2BE2
ΔE00 5.18
Darkviolet
#9400D3
ΔE00 5.72
Vibrant Purple
#AD03DE
ΔE00 6.04
Violet (survey)
#9A0EEA
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F3DC2 #70C23D
analogous
#4C3DC2 #8F3DC2 #C23DB3
triadic
#8F3DC2 #C28F3D #3DC28F
tetradic
#8F3DC2 #C24C3D #70C23D #3DB3C2
square
#8F3DC2 #C24C3D #70C23D #3DB3C2
split-complementary
#8F3DC2 #B3C23D #3DC24C
monochromatic
#4A2065 #6D2E93 #8F3DC2 #AA6CD1 #C59ADF
Accessibility & contrast
On white
5.81
#8F3DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#8F3DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F3DC2
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F3DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F3DC2 | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#2566BF
Tritanopia (blue-blind)
#885A7B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8f3dc2; /* rgb */ color: rgb(143, 61, 194); /* oklch */ color: oklch(53.2% 0.202 309.4);
Tailwind
colors: {
custom: {
50: '#b479d5',
500: '#8f3dc2',
950: '#000000',
},
}SCSS
$custom: #8f3dc2; $custom-light: #b479d5; $custom-dark: #000000;
JSON
{
"hex": "#8f3dc2",
"rgb": {
"r": 143,
"g": 61,
"b": 194
},
"hsl": {
"h": 276.992,
"s": 52.157,
"l": 50
},
"oklch": {
"l": 0.53243,
"c": 0.20209,
"h": 309.4
},
"luminance": 0.13072
}Semantic roles & 50–950 ramp
primary
#8F3DC2
secondary
#A6CB90
accent
#DC4C83
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83