#9137B2#9137B2
#9137B2 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.7% C 0.195 H 315.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #9137B2 |
|---|---|
| RGB | rgb(145, 55, 178) |
| HSL | hsl(284, 53%, 46%) |
| HSV | hsv(284, 69%, 70%) |
| CMYK | cmyk(18.5%, 69.1%, 0%, 30.2%) |
| CIE-LAB | lab(41.16, 56.25, -48.53) |
| CIE-LCH | lch(41.16, 74.29, 319.21°) |
| OKLab | oklab(51.74% 0.1389 -0.1365) |
| OKLCH | oklch(51.74% 0.195 315.5) |
| XYZ | xyz(21.0778, 11.9672, 43.3105) |
| Luminance | 0.1197 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.38
Darkorchid
#9932CC
ΔE00 3.93
Barney
#AC1DB8
ΔE00 4.79
Medium Purple
#9E43A2
ΔE00 5.72
Darkviolet
#9400D3
ΔE00 6.26
Purple (survey)
#7E1E9C
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9137B2 #58B237
analogous
#5337B2 #9137B2 #B23796
triadic
#9137B2 #B29137 #37B291
tetradic
#9137B2 #B25337 #58B237 #3796B2
square
#9137B2 #B25337 #58B237 #3796B2
split-complementary
#9137B2 #96B237 #37B253
monochromatic
#451A54 #6B2983 #9137B2 #AD5ACC #C589DB
Accessibility & contrast
On white
6.19
#9137B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#9137B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9137B2
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9137B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9137B2 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#3564AF
Tritanopia (blue-blind)
#8F4F70
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9137b2; /* rgb */ color: rgb(145, 55, 178); /* oklch */ color: oklch(51.7% 0.195 315.5);
Tailwind
colors: {
custom: {
50: '#b575ca',
500: '#9137b2',
950: '#000000',
},
}SCSS
$custom: #9137b2; $custom-light: #b575ca; $custom-dark: #000000;
JSON
{
"hex": "#9137b2",
"rgb": {
"r": 145,
"g": 55,
"b": 178
},
"hsl": {
"h": 283.902,
"s": 52.79,
"l": 45.686
},
"oklch": {
"l": 0.51743,
"c": 0.19472,
"h": 315.5
},
"luminance": 0.11966
}Semantic roles & 50–950 ramp
primary
#9137B2
secondary
#93C580
accent
#DC4C72
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82