#9239AF#9239AF
#9239AF is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.9% C 0.190 H 316.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9239AF |
|---|---|
| RGB | rgb(146, 57, 175) |
| HSL | hsl(285, 51%, 45%) |
| HSV | hsv(285, 67%, 69%) |
| CMYK | cmyk(16.6%, 67.4%, 0%, 31.4%) |
| CIE-LAB | lab(41.43, 55.00, -46.32) |
| CIE-LCH | lch(41.43, 71.91, 319.89°) |
| OKLab | oklab(51.9% 0.1381 -0.13) |
| OKLCH | oklch(51.9% 0.19 316.7) |
| XYZ | xyz(21.0539, 12.1332, 41.7820) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.89
Darkorchid
#9932CC
ΔE00 4.44
Barney
#AC1DB8
ΔE00 4.71
Medium Purple
#9E43A2
ΔE00 5.00
Ugly Purple
#A442A0
ΔE00 6.25
Warm Purple
#952E8F
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9239AF #56AF39
analogous
#5739AF #9239AF #AF3991
triadic
#9239AF #AF9239 #39AF92
tetradic
#9239AF #AF5739 #56AF39 #3991AF
square
#9239AF #AF5739 #56AF39 #3991AF
split-complementary
#9239AF #91AF39 #39AF57
monochromatic
#451B53 #6B2A81 #9239AF #AF5BCA #C58AD9
Accessibility & contrast
On white
6.13
#9239AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#9239AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9239AF
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9239AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9239AF | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#3B64AC
Tritanopia (blue-blind)
#914F6F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #9239af; /* rgb */ color: rgb(146, 57, 175); /* oklch */ color: oklch(51.9% 0.190 316.7);
Tailwind
colors: {
custom: {
50: '#b576c7',
500: '#9239af',
950: '#000000',
},
}SCSS
$custom: #9239af; $custom-light: #b576c7; $custom-dark: #000000;
JSON
{
"hex": "#9239af",
"rgb": {
"r": 146,
"g": 57,
"b": 175
},
"hsl": {
"h": 285.254,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.51901,
"c": 0.18966,
"h": 316.7
},
"luminance": 0.12132
}Semantic roles & 50–950 ramp
primary
#9239AF
secondary
#91C381
accent
#DA4D70
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82