#8730B5#8730B5
#8730B5 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.9% C 0.203 H 311.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #8730B5 |
|---|---|
| RGB | rgb(135, 48, 181) |
| HSL | hsl(279, 58%, 45%) |
| HSV | hsv(279, 73%, 71%) |
| CMYK | cmyk(25.4%, 73.5%, 0%, 29%) |
| CIE-LAB | lab(38.90, 57.69, -54.02) |
| CIE-LCH | lch(38.90, 79.03, 316.88°) |
| OKLab | oklab(49.9% 0.1328 -0.1529) |
| OKLCH | oklch(49.9% 0.203 311) |
| XYZ | xyz(19.3875, 10.6015, 44.7321) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.48
Darkviolet
#9400D3
ΔE00 4.87
Purply
#983FB2
ΔE00 5.07
Purple (survey)
#7E1E9C
ΔE00 5.09
Blueviolet
#8A2BE2
ΔE00 6.28
Barney
#AC1DB8
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8730B5 #5EB530
analogous
#4430B5 #8730B5 #B530A1
triadic
#8730B5 #B58730 #30B587
tetradic
#8730B5 #B54430 #5EB530 #30A1B5
square
#8730B5 #B54430 #5EB530 #30A1B5
split-complementary
#8730B5 #A1B530 #30B544
monochromatic
#3F1654 #632385 #8730B5 #A551D1 #BE82DE
Accessibility & contrast
On white
6.73
#8730B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#8730B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8730B5
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8730B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8730B5 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#185DB2
Tritanopia (blue-blind)
#814E70
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #8730b5; /* rgb */ color: rgb(135, 48, 181); /* oklch */ color: oklch(49.9% 0.203 311.0);
Tailwind
colors: {
custom: {
50: '#ae71cc',
500: '#8730b5',
950: '#000000',
},
}SCSS
$custom: #8730b5; $custom-light: #ae71cc; $custom-dark: #000000;
JSON
{
"hex": "#8730b5",
"rgb": {
"r": 135,
"g": 48,
"b": 181
},
"hsl": {
"h": 279.248,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.49898,
"c": 0.20254,
"h": 311
},
"luminance": 0.10601
}Semantic roles & 50–950 ramp
primary
#8730B5
secondary
#95C77A
accent
#E1467C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82