#9137B5#9137B5
#9137B5 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.9% C 0.198 H 314.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9137B5 |
|---|---|
| RGB | rgb(145, 55, 181) |
| HSL | hsl(283, 53%, 46%) |
| HSV | hsv(283, 70%, 71%) |
| CMYK | cmyk(19.9%, 69.6%, 0%, 29%) |
| CIE-LAB | lab(41.36, 56.87, -49.99) |
| CIE-LCH | lch(41.36, 75.71, 318.68°) |
| OKLab | oklab(51.94% 0.1386 -0.1408) |
| OKLCH | oklch(51.94% 0.198 314.6) |
| XYZ | xyz(21.3823, 12.0890, 44.9142) |
| Luminance | 0.1209 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.52
Darkorchid
#9932CC
ΔE00 3.47
Barney
#AC1DB8
ΔE00 4.87
Darkviolet
#9400D3
ΔE00 5.91
Medium Purple
#9E43A2
ΔE00 6.06
Vibrant Purple
#AD03DE
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9137B5 #5BB537
analogous
#5237B5 #9137B5 #B5379A
triadic
#9137B5 #B59137 #37B591
tetradic
#9137B5 #B55237 #5BB537 #379AB5
square
#9137B5 #B55237 #5BB537 #379AB5
split-complementary
#9137B5 #9AB537 #37B552
monochromatic
#461A57 #6B2986 #9137B5 #AD5CCD #C58BDC
Accessibility & contrast
On white
6.14
#9137B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#9137B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9137B5
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9137B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9137B5 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#3264B2
Tritanopia (blue-blind)
#8E5172
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #9137b5; /* rgb */ color: rgb(145, 55, 181); /* oklch */ color: oklch(51.9% 0.198 314.6);
Tailwind
colors: {
custom: {
50: '#b575cc',
500: '#9137b5',
950: '#000000',
},
}SCSS
$custom: #9137b5; $custom-light: #b575cc; $custom-dark: #000000;
JSON
{
"hex": "#9137b5",
"rgb": {
"r": 145,
"g": 55,
"b": 181
},
"hsl": {
"h": 282.857,
"s": 53.39,
"l": 46.275
},
"oklch": {
"l": 0.51943,
"c": 0.19757,
"h": 314.6
},
"luminance": 0.12088
}Semantic roles & 50–950 ramp
primary
#9137B5
secondary
#95C682
accent
#DD4B75
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120913
muted
#817B82