#8F30C3#8F30C3
#8F30C3 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.0% C 0.218 H 310.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #8F30C3 |
|---|---|
| RGB | rgb(143, 48, 195) |
| HSL | hsl(279, 60%, 48%) |
| HSV | hsv(279, 75%, 76%) |
| CMYK | cmyk(26.7%, 75.4%, 0%, 23.5%) |
| CIE-LAB | lab(41.05, 62.18, -58.71) |
| CIE-LCH | lch(41.05, 85.52, 316.64°) |
| OKLab | oklab(51.97% 0.141 -0.1664) |
| OKLCH | oklch(51.97% 0.218 310.3) |
| XYZ | xyz(22.2330, 11.8942, 52.7438) |
| Luminance | 0.1189 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.25
Darkviolet
#9400D3
ΔE00 3.71
Blueviolet
#8A2BE2
ΔE00 4.47
Purply
#983FB2
ΔE00 4.76
Violet (survey)
#9A0EEA
ΔE00 5.20
Vibrant Purple
#AD03DE
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F30C3 #64C330
analogous
#4630C3 #8F30C3 #C330AD
triadic
#8F30C3 #C38F30 #30C38F
tetradic
#8F30C3 #C34630 #64C330 #30ADC3
square
#8F30C3 #C34630 #64C330 #30ADC3
split-complementary
#8F30C3 #ADC330 #30C346
monochromatic
#471861 #6B2492 #8F30C3 #AA5AD6 #C38BE2
Accessibility & contrast
On white
6.22
#8F30C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#8F30C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F30C3
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F30C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F30C3 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#0662C0
Tritanopia (blue-blind)
#885378
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8f30c3; /* rgb */ color: rgb(143, 48, 195); /* oklch */ color: oklch(52.0% 0.218 310.3);
Tailwind
colors: {
custom: {
50: '#b572d6',
500: '#8f30c3',
950: '#000000',
},
}SCSS
$custom: #8f30c3; $custom-light: #b572d6; $custom-dark: #000000;
JSON
{
"hex": "#8f30c3",
"rgb": {
"r": 143,
"g": 48,
"b": 195
},
"hsl": {
"h": 278.776,
"s": 60.494,
"l": 47.647
},
"oklch": {
"l": 0.51969,
"c": 0.21812,
"h": 310.3
},
"luminance": 0.11894
}Semantic roles & 50–950 ramp
primary
#8F30C3
secondary
#9DCC82
accent
#E4447D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83