#9236B2#9236B2
#9236B2 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.8% C 0.196 H 316.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #9236B2 |
|---|---|
| RGB | rgb(146, 54, 178) |
| HSL | hsl(285, 53%, 45%) |
| HSV | hsv(285, 70%, 70%) |
| CMYK | cmyk(18%, 69.7%, 0%, 30.2%) |
| CIE-LAB | lab(41.16, 56.89, -48.53) |
| CIE-LCH | lch(41.16, 74.77, 319.53°) |
| OKLab | oklab(51.77% 0.1412 -0.1365) |
| OKLCH | oklch(51.77% 0.196 316) |
| XYZ | xyz(21.2079, 11.9645, 43.3031) |
| Luminance | 0.1196 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.37
Darkorchid
#9932CC
ΔE00 3.93
Barney
#AC1DB8
ΔE00 4.58
Medium Purple
#9E43A2
ΔE00 5.66
Darkviolet
#9400D3
ΔE00 6.21
Purple (survey)
#7E1E9C
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9236B2 #56B236
analogous
#5436B2 #9236B2 #B23694
triadic
#9236B2 #B29236 #36B292
tetradic
#9236B2 #B25436 #56B236 #3694B2
square
#9236B2 #B25436 #56B236 #3694B2
split-complementary
#9236B2 #94B236 #36B254
monochromatic
#451A54 #6B2883 #9236B2 #AF59CD #C588DB
Accessibility & contrast
On white
6.19
#9236B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#9236B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9236B2
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9236B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9236B2 | 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)
#904F70
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9236b2; /* rgb */ color: rgb(146, 54, 178); /* oklch */ color: oklch(51.8% 0.196 316.0);
Tailwind
colors: {
custom: {
50: '#b675ca',
500: '#9236b2',
950: '#000000',
},
}SCSS
$custom: #9236b2; $custom-light: #b675ca; $custom-dark: #000000;
JSON
{
"hex": "#9236b2",
"rgb": {
"r": 146,
"g": 54,
"b": 178
},
"hsl": {
"h": 284.516,
"s": 53.448,
"l": 45.49
},
"oklch": {
"l": 0.5177,
"c": 0.19636,
"h": 316
},
"luminance": 0.11964
}Semantic roles & 50–950 ramp
primary
#9236B2
secondary
#91C57F
accent
#DD4B71
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82