#8F30C4#8F30C4
#8F30C4 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.0% C 0.219 H 310.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #8F30C4 |
|---|---|
| RGB | rgb(143, 48, 196) |
| HSL | hsl(279, 61%, 48%) |
| HSV | hsv(279, 76%, 77%) |
| CMYK | cmyk(27%, 75.5%, 0%, 23.1%) |
| CIE-LAB | lab(41.12, 62.39, -59.18) |
| CIE-LCH | lch(41.12, 86.00, 316.51°) |
| OKLab | oklab(52.04% 0.1408 -0.1678) |
| OKLCH | oklch(52.04% 0.219 310) |
| XYZ | xyz(22.3465, 11.9395, 53.3412) |
| Luminance | 0.1194 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.19
Darkviolet
#9400D3
ΔE00 3.66
Blueviolet
#8A2BE2
ΔE00 4.32
Purply
#983FB2
ΔE00 4.85
Violet (survey)
#9A0EEA
ΔE00 5.07
Vibrant Purple
#AD03DE
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F30C4 #65C430
analogous
#4530C4 #8F30C4 #C430AF
triadic
#8F30C4 #C48F30 #30C48F
tetradic
#8F30C4 #C44530 #65C430 #30AFC4
square
#8F30C4 #C44530 #65C430 #30AFC4
split-complementary
#8F30C4 #AFC430 #30C445
monochromatic
#471862 #6B2493 #8F30C4 #AA5AD7 #C48CE3
Accessibility & contrast
On white
6.20
#8F30C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#8F30C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F30C4
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F30C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F30C4 | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0262C1
Tritanopia (blue-blind)
#875378
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8f30c4; /* rgb */ color: rgb(143, 48, 196); /* oklch */ color: oklch(52.0% 0.219 310.0);
Tailwind
colors: {
custom: {
50: '#b572d7',
500: '#8f30c4',
950: '#000000',
},
}SCSS
$custom: #8f30c4; $custom-light: #b572d7; $custom-dark: #000000;
JSON
{
"hex": "#8f30c4",
"rgb": {
"r": 143,
"g": 48,
"b": 196
},
"hsl": {
"h": 278.514,
"s": 60.656,
"l": 47.843
},
"oklch": {
"l": 0.52042,
"c": 0.21904,
"h": 310
},
"luminance": 0.11939
}Semantic roles & 50–950 ramp
primary
#8F30C4
secondary
#9DCD83
accent
#E4447D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83