#8730C0#8730C0
#8730C0 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.7% C 0.213 H 307.9°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #8730C0 |
|---|---|
| RGB | rgb(135, 48, 192) |
| HSL | hsl(276, 60%, 47%) |
| HSV | hsv(276, 75%, 75%) |
| CMYK | cmyk(29.7%, 75%, 0%, 24.7%) |
| CIE-LAB | lab(39.70, 60.07, -59.20) |
| CIE-LCH | lch(39.70, 84.34, 315.42°) |
| OKLab | oklab(50.71% 0.1309 -0.1681) |
| OKLCH | oklch(50.71% 0.213 307.9) |
| XYZ | xyz(20.5611, 11.0709, 50.9127) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.65
Darkviolet
#9400D3
ΔE00 3.88
Blueviolet
#8A2BE2
ΔE00 4.60
Purply
#983FB2
ΔE00 5.70
Violet (survey)
#9A0EEA
ΔE00 5.82
Purple (survey)
#7E1E9C
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8730C0 #69C030
analogous
#3F30C0 #8730C0 #C030B1
triadic
#8730C0 #C08730 #30C087
tetradic
#8730C0 #C03F30 #69C030 #30B1C0
square
#8730C0 #C03F30 #69C030 #30B1C0
split-complementary
#8730C0 #B1C030 #30C03F
monochromatic
#42185E #65248F #8730C0 #A458D5 #BE89E1
Accessibility & contrast
On white
6.53
#8730C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#8730C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8730C0
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8730C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8730C0 | 1.00 | 6.53 | 3.21 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#7E5376
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8730c0; /* rgb */ color: rgb(135, 48, 192); /* oklch */ color: oklch(50.7% 0.213 307.9);
Tailwind
colors: {
custom: {
50: '#af71d4',
500: '#8730c0',
950: '#000000',
},
}SCSS
$custom: #8730c0; $custom-light: #af71d4; $custom-dark: #000000;
JSON
{
"hex": "#8730c0",
"rgb": {
"r": 135,
"g": 48,
"b": 192
},
"hsl": {
"h": 276.25,
"s": 60,
"l": 47.059
},
"oklch": {
"l": 0.50714,
"c": 0.21307,
"h": 307.9
},
"luminance": 0.11071
}Semantic roles & 50–950 ramp
primary
#8730C0
secondary
#9ECB80
accent
#E34583
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83