#8935B7#8935B7
#8935B7 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.8% C 0.199 H 310.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8935B7 |
|---|---|
| RGB | rgb(137, 53, 183) |
| HSL | hsl(279, 55%, 46%) |
| HSV | hsv(279, 71%, 72%) |
| CMYK | cmyk(25.1%, 71%, 0%, 28.2%) |
| CIE-LAB | lab(40.05, 56.45, -53.32) |
| CIE-LCH | lch(40.05, 77.65, 316.63°) |
| OKLab | oklab(50.82% 0.1302 -0.1508) |
| OKLCH | oklch(50.82% 0.199 310.8) |
| XYZ | xyz(20.1352, 11.2839, 45.9079) |
| Luminance | 0.1128 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.80
Purply
#983FB2
ΔE00 4.26
Darkviolet
#9400D3
ΔE00 5.16
Purple (survey)
#7E1E9C
ΔE00 6.01
Blueviolet
#8A2BE2
ΔE00 6.03
Barney
#AC1DB8
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8935B7 #63B735
analogous
#4835B7 #8935B7 #B735A4
triadic
#8935B7 #B78935 #35B789
tetradic
#8935B7 #B74835 #63B735 #35A4B7
square
#8935B7 #B74835 #63B735 #35A4B7
split-complementary
#8935B7 #A4B735 #35B748
monochromatic
#421A58 #652788 #8935B7 #A65ACF #BF89DD
Accessibility & contrast
On white
6.45
#8935B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#8935B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8935B7
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8935B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8935B7 | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#2060B4
Tritanopia (blue-blind)
#835272
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8935b7; /* rgb */ color: rgb(137, 53, 183); /* oklch */ color: oklch(50.8% 0.199 310.8);
Tailwind
colors: {
custom: {
50: '#b074cd',
500: '#8935b7',
950: '#000000',
},
}SCSS
$custom: #8935b7; $custom-light: #b074cd; $custom-dark: #000000;
JSON
{
"hex": "#8935b7",
"rgb": {
"r": 137,
"g": 53,
"b": 183
},
"hsl": {
"h": 278.769,
"s": 55.085,
"l": 46.275
},
"oklch": {
"l": 0.50821,
"c": 0.19923,
"h": 310.8
},
"luminance": 0.11283
}Semantic roles & 50–950 ramp
primary
#8935B7
secondary
#9AC781
accent
#DE497E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82