#8F2CC2#8F2CC2
#8F2CC2 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.5% C 0.221 H 310.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2CC2 |
|---|---|
| RGB | rgb(143, 44, 194) |
| HSL | hsl(280, 63%, 47%) |
| HSV | hsv(280, 77%, 76%) |
| CMYK | cmyk(26.3%, 77.3%, 0%, 23.9%) |
| CIE-LAB | lab(40.47, 63.42, -59.07) |
| CIE-LCH | lch(40.47, 86.67, 317.04°) |
| OKLab | oklab(51.54% 0.1446 -0.1674) |
| OKLCH | oklch(51.54% 0.221 310.8) |
| XYZ | xyz(21.9641, 11.5366, 52.0982) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.67
Darkviolet
#9400D3
ΔE00 3.33
Blueviolet
#8A2BE2
ΔE00 4.64
Purply
#983FB2
ΔE00 5.05
Violet (survey)
#9A0EEA
ΔE00 5.24
Vibrant Purple
#AD03DE
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2CC2 #5FC22C
analogous
#442CC2 #8F2CC2 #C22CAA
triadic
#8F2CC2 #C28F2C #2CC28F
tetradic
#8F2CC2 #C2442C #5FC22C #2CAAC2
square
#8F2CC2 #C2442C #5FC22C #2CAAC2
split-complementary
#8F2CC2 #AAC22C #2CC244
monochromatic
#45155E #6A2190 #8F2CC2 #AB53D8 #C385E3
Accessibility & contrast
On white
6.35
#8F2CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#8F2CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F2CC2
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2CC2 | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#885176
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8f2cc2; /* rgb */ color: rgb(143, 44, 194); /* oklch */ color: oklch(51.5% 0.221 310.8);
Tailwind
colors: {
custom: {
50: '#b570d5',
500: '#8f2cc2',
950: '#000000',
},
}SCSS
$custom: #8f2cc2; $custom-light: #b570d5; $custom-dark: #000000;
JSON
{
"hex": "#8f2cc2",
"rgb": {
"r": 143,
"g": 44,
"b": 194
},
"hsl": {
"h": 279.6,
"s": 63.025,
"l": 46.667
},
"oklch": {
"l": 0.51539,
"c": 0.22125,
"h": 310.8
},
"luminance": 0.11536
}Semantic roles & 50–950 ramp
primary
#8F2CC2
secondary
#98CD7D
accent
#E6427A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83