#8936B2#8936B2
#8936B2 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.193 H 312.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #8936B2 |
|---|---|
| RGB | rgb(137, 54, 178) |
| HSL | hsl(280, 53%, 45%) |
| HSV | hsv(280, 70%, 70%) |
| CMYK | cmyk(23%, 69.7%, 0%, 30.2%) |
| CIE-LAB | lab(39.87, 54.94, -50.67) |
| CIE-LCH | lch(39.87, 74.74, 317.31°) |
| OKLab | oklab(50.58% 0.1297 -0.143) |
| OKLCH | oklch(50.58% 0.193 312.2) |
| XYZ | xyz(19.6701, 11.1716, 43.2310) |
| Luminance | 0.1117 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.91
Darkorchid
#9932CC
ΔE00 4.34
Purple (survey)
#7E1E9C
ΔE00 5.65
Darkviolet
#9400D3
ΔE00 5.80
Barney
#AC1DB8
ΔE00 6.17
Blueviolet
#8A2BE2
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8936B2 #5FB236
analogous
#4B36B2 #8936B2 #B2369D
triadic
#8936B2 #B28936 #36B289
tetradic
#8936B2 #B24B36 #5FB236 #369DB2
square
#8936B2 #B24B36 #5FB236 #369DB2
split-complementary
#8936B2 #9DB236 #36B24B
monochromatic
#411A54 #652883 #8936B2 #A659CD #BF88DB
Accessibility & contrast
On white
6.49
#8936B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#8936B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8936B2
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8936B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8936B2 | 1.00 | 6.49 | 3.23 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#2960AF
Tritanopia (blue-blind)
#845070
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8936b2; /* rgb */ color: rgb(137, 54, 178); /* oklch */ color: oklch(50.6% 0.193 312.2);
Tailwind
colors: {
custom: {
50: '#af74ca',
500: '#8936b2',
950: '#000000',
},
}SCSS
$custom: #8936b2; $custom-light: #af74ca; $custom-dark: #000000;
JSON
{
"hex": "#8936b2",
"rgb": {
"r": 137,
"g": 54,
"b": 178
},
"hsl": {
"h": 280.161,
"s": 53.448,
"l": 45.49
},
"oklch": {
"l": 0.5058,
"c": 0.19309,
"h": 312.2
},
"luminance": 0.11171
}Semantic roles & 50–950 ramp
primary
#8936B2
secondary
#96C57F
accent
#DD4B7B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82