#8734B5#8734B5
#8734B5 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.3% C 0.198 H 310.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8734B5 |
|---|---|
| RGB | rgb(135, 52, 181) |
| HSL | hsl(279, 55%, 46%) |
| HSV | hsv(279, 71%, 71%) |
| CMYK | cmyk(25.4%, 71.3%, 0%, 29%) |
| CIE-LAB | lab(39.49, 56.03, -53.08) |
| CIE-LCH | lch(39.49, 77.18, 316.55°) |
| OKLab | oklab(50.31% 0.1288 -0.1502) |
| OKLCH | oklch(50.31% 0.198 310.6) |
| XYZ | xyz(19.5586, 10.9435, 44.7891) |
| Luminance | 0.1094 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.27
Purply
#983FB2
ΔE00 4.62
Darkviolet
#9400D3
ΔE00 5.24
Purple (survey)
#7E1E9C
ΔE00 5.56
Blueviolet
#8A2BE2
ΔE00 6.27
Barney
#AC1DB8
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8734B5 #62B534
analogous
#4734B5 #8734B5 #B534A2
triadic
#8734B5 #B58734 #34B587
tetradic
#8734B5 #B54734 #62B534 #34A2B5
square
#8734B5 #B54734 #62B534 #34A2B5
split-complementary
#8734B5 #A2B534 #34B547
monochromatic
#401956 #642685 #8734B5 #A457CF #BE87DC
Accessibility & contrast
On white
6.59
#8734B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#8734B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8734B5
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8734B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8734B5 | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#1E5EB2
Tritanopia (blue-blind)
#815071
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8734b5; /* rgb */ color: rgb(135, 52, 181); /* oklch */ color: oklch(50.3% 0.198 310.6);
Tailwind
colors: {
custom: {
50: '#ae73cc',
500: '#8734b5',
950: '#000000',
},
}SCSS
$custom: #8734b5; $custom-light: #ae73cc; $custom-dark: #000000;
JSON
{
"hex": "#8734b5",
"rgb": {
"r": 135,
"g": 52,
"b": 181
},
"hsl": {
"h": 278.605,
"s": 55.365,
"l": 45.686
},
"oklch": {
"l": 0.50313,
"c": 0.19785,
"h": 310.6
},
"luminance": 0.10943
}Semantic roles & 50–950 ramp
primary
#8734B5
secondary
#98C67F
accent
#DF497E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82