#8935B2#8935B2
#8935B2 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.194 H 312.3°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #8935B2 |
|---|---|
| RGB | rgb(137, 53, 178) |
| HSL | hsl(280, 54%, 45%) |
| HSV | hsv(280, 70%, 70%) |
| CMYK | cmyk(23%, 70.2%, 0%, 30.2%) |
| CIE-LAB | lab(39.71, 55.37, -50.92) |
| CIE-LCH | lch(39.71, 75.23, 317.40°) |
| OKLab | oklab(50.47% 0.1308 -0.1438) |
| OKLCH | oklch(50.47% 0.194 312.3) |
| XYZ | xyz(19.6241, 11.0795, 43.2156) |
| Luminance | 0.1108 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.02
Darkorchid
#9932CC
ΔE00 4.37
Purple (survey)
#7E1E9C
ΔE00 5.51
Darkviolet
#9400D3
ΔE00 5.69
Barney
#AC1DB8
ΔE00 6.15
Blueviolet
#8A2BE2
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8935B2 #5EB235
analogous
#4A35B2 #8935B2 #B2359C
triadic
#8935B2 #B28935 #35B289
tetradic
#8935B2 #B24A35 #5EB235 #359CB2
square
#8935B2 #B24A35 #5EB235 #359CB2
split-complementary
#8935B2 #9CB235 #35B24A
monochromatic
#401954 #652783 #8935B2 #A657CD #BF86DB
Accessibility & contrast
On white
6.53
#8935B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#8935B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8935B2
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8935B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8935B2 | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#285FAF
Tritanopia (blue-blind)
#845070
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8935b2; /* rgb */ color: rgb(137, 53, 178); /* oklch */ color: oklch(50.5% 0.194 312.3);
Tailwind
colors: {
custom: {
50: '#af73ca',
500: '#8935b2',
950: '#000000',
},
}SCSS
$custom: #8935b2; $custom-light: #af73ca; $custom-dark: #000000;
JSON
{
"hex": "#8935b2",
"rgb": {
"r": 137,
"g": 53,
"b": 178
},
"hsl": {
"h": 280.32,
"s": 54.113,
"l": 45.294
},
"oklch": {
"l": 0.5047,
"c": 0.19434,
"h": 312.3
},
"luminance": 0.11079
}Semantic roles & 50–950 ramp
primary
#8935B2
secondary
#95C57E
accent
#DD4A7B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82