#9237AF#9237AF
#9237AF is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.192 H 316.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #9237AF |
|---|---|
| RGB | rgb(146, 55, 175) |
| HSL | hsl(286, 52%, 45%) |
| HSV | hsv(286, 69%, 69%) |
| CMYK | cmyk(16.6%, 68.6%, 0%, 31.4%) |
| CIE-LAB | lab(41.12, 55.86, -46.82) |
| CIE-LCH | lch(41.12, 72.88, 320.03°) |
| OKLab | oklab(51.68% 0.1403 -0.1314) |
| OKLCH | oklch(51.68% 0.192 316.9) |
| XYZ | xyz(20.9570, 11.9394, 41.7497) |
| Luminance | 0.1194 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.19
Darkorchid
#9932CC
ΔE00 4.41
Barney
#AC1DB8
ΔE00 4.60
Medium Purple
#9E43A2
ΔE00 5.21
Warm Purple
#952E8F
ΔE00 6.29
Ugly Purple
#A442A0
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9237AF #54AF37
analogous
#5637AF #9237AF #AF3790
triadic
#9237AF #AF9237 #37AF92
tetradic
#9237AF #AF5637 #54AF37 #3790AF
square
#9237AF #AF5637 #54AF37 #3790AF
split-complementary
#9237AF #90AF37 #37AF56
monochromatic
#441A52 #6B2880 #9237AF #AF59CB #C587D9
Accessibility & contrast
On white
6.20
#9237AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#9237AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9237AF
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9237AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9237AF | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#3964AC
Tritanopia (blue-blind)
#914E6F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9237af; /* rgb */ color: rgb(146, 55, 175); /* oklch */ color: oklch(51.7% 0.192 316.9);
Tailwind
colors: {
custom: {
50: '#b575c7',
500: '#9237af',
950: '#000000',
},
}SCSS
$custom: #9237af; $custom-light: #b575c7; $custom-dark: #000000;
JSON
{
"hex": "#9237af",
"rgb": {
"r": 146,
"g": 55,
"b": 175
},
"hsl": {
"h": 285.5,
"s": 52.174,
"l": 45.098
},
"oklch": {
"l": 0.51681,
"c": 0.19227,
"h": 316.9
},
"luminance": 0.11939
}Semantic roles & 50–950 ramp
primary
#9237AF
secondary
#8FC37F
accent
#DC4C6F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82