#9237B5#9237B5
#9237B5 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.1% C 0.198 H 315.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9237B5 |
|---|---|
| RGB | rgb(146, 55, 181) |
| HSL | hsl(283, 53%, 46%) |
| HSV | hsv(283, 70%, 71%) |
| CMYK | cmyk(19.3%, 69.6%, 0%, 29%) |
| CIE-LAB | lab(41.50, 57.08, -49.75) |
| CIE-LCH | lch(41.50, 75.72, 318.93°) |
| OKLab | oklab(52.08% 0.1399 -0.14) |
| OKLCH | oklch(52.08% 0.198 315) |
| XYZ | xyz(21.5594, 12.1803, 44.9225) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.36
Darkorchid
#9932CC
ΔE00 3.46
Barney
#AC1DB8
ΔE00 4.70
Medium Purple
#9E43A2
ΔE00 5.91
Darkviolet
#9400D3
ΔE00 5.98
Vibrant Purple
#AD03DE
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9237B5 #5AB537
analogous
#5337B5 #9237B5 #B53799
triadic
#9237B5 #B59237 #37B592
tetradic
#9237B5 #B55337 #5AB537 #3799B5
square
#9237B5 #B55337 #5AB537 #3799B5
split-complementary
#9237B5 #99B537 #37B553
monochromatic
#461A57 #6C2986 #9237B5 #AE5CCD #C58BDC
Accessibility & contrast
On white
6.11
#9237B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#9237B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9237B5
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9237B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9237B5 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#3364B2
Tritanopia (blue-blind)
#8F5072
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #9237b5; /* rgb */ color: rgb(146, 55, 181); /* oklch */ color: oklch(52.1% 0.198 315.0);
Tailwind
colors: {
custom: {
50: '#b675cc',
500: '#9237b5',
950: '#000000',
},
}SCSS
$custom: #9237b5; $custom-light: #b675cc; $custom-dark: #000000;
JSON
{
"hex": "#9237b5",
"rgb": {
"r": 146,
"g": 55,
"b": 181
},
"hsl": {
"h": 283.333,
"s": 53.39,
"l": 46.275
},
"oklch": {
"l": 0.52076,
"c": 0.19794,
"h": 315
},
"luminance": 0.1218
}Semantic roles & 50–950 ramp
primary
#9237B5
secondary
#95C682
accent
#DD4B74
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120913
muted
#817B82