#8F3CC2#8F3CC2
#8F3CC2 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.1% C 0.203 H 309.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8F3CC2 |
|---|---|
| RGB | rgb(143, 60, 194) |
| HSL | hsl(277, 53%, 50%) |
| HSV | hsv(277, 69%, 76%) |
| CMYK | cmyk(26.3%, 69.1%, 0%, 23.9%) |
| CIE-LAB | lab(42.71, 57.05, -55.44) |
| CIE-LCH | lch(42.71, 79.55, 315.82°) |
| OKLab | oklab(53.13% 0.1294 -0.1569) |
| OKLCH | oklch(53.13% 0.203 309.5) |
| XYZ | xyz(22.6792, 12.9668, 52.3366) |
| Luminance | 0.1297 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.19
Purply
#983FB2
ΔE00 3.75
Blueviolet
#8A2BE2
ΔE00 5.10
Darkviolet
#9400D3
ΔE00 5.54
Vibrant Purple
#AD03DE
ΔE00 5.96
Violet (survey)
#9A0EEA
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F3CC2 #6FC23C
analogous
#4C3CC2 #8F3CC2 #C23CB2
triadic
#8F3CC2 #C28F3C #3CC28F
tetradic
#8F3CC2 #C24C3C #6FC23C #3CB2C2
square
#8F3CC2 #C24C3C #6FC23C #3CB2C2
split-complementary
#8F3CC2 #B2C23C #3CC24C
monochromatic
#4A1F65 #6D2E93 #8F3CC2 #AA6AD1 #C599DF
Accessibility & contrast
On white
5.84
#8F3CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#8F3CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F3CC2
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F3CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F3CC2 | 1.00 | 5.84 | 3.59 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#2366BF
Tritanopia (blue-blind)
#88597B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8f3cc2; /* rgb */ color: rgb(143, 60, 194); /* oklch */ color: oklch(53.1% 0.203 309.5);
Tailwind
colors: {
custom: {
50: '#b478d5',
500: '#8f3cc2',
950: '#000000',
},
}SCSS
$custom: #8f3cc2; $custom-light: #b478d5; $custom-dark: #000000;
JSON
{
"hex": "#8f3cc2",
"rgb": {
"r": 143,
"g": 60,
"b": 194
},
"hsl": {
"h": 277.164,
"s": 52.756,
"l": 49.804
},
"oklch": {
"l": 0.53129,
"c": 0.20335,
"h": 309.5
},
"luminance": 0.12966
}Semantic roles & 50–950 ramp
primary
#8F3CC2
secondary
#A6CB8F
accent
#DC4C83
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83