#9231AF#9231AF
#9231AF is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.200 H 317.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #9231AF |
|---|---|
| RGB | rgb(146, 49, 175) |
| HSL | hsl(286, 56%, 44%) |
| HSV | hsv(286, 72%, 69%) |
| CMYK | cmyk(16.6%, 72%, 0%, 31.4%) |
| CIE-LAB | lab(40.25, 58.31, -48.21) |
| CIE-LCH | lch(40.25, 75.66, 320.42°) |
| OKLab | oklab(51.06% 0.1466 -0.1355) |
| OKLCH | oklch(51.06% 0.2 317.3) |
| XYZ | xyz(20.6891, 11.4036, 41.6604) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.11
Barney
#AC1DB8
ΔE00 4.45
Darkorchid
#9932CC
ΔE00 4.50
Purple (survey)
#7E1E9C
ΔE00 5.71
Medium Purple
#9E43A2
ΔE00 5.90
Darkviolet
#9400D3
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9231AF #4EAF31
analogous
#5331AF #9231AF #AF318D
triadic
#9231AF #AF9231 #31AF92
tetradic
#9231AF #AF5331 #4EAF31 #318DAF
square
#9231AF #AF5331 #4EAF31 #318DAF
split-complementary
#9231AF #8DAF31 #31AF53
monochromatic
#42164F #6A247F #9231AF #B14FCE #C67FDB
Accessibility & contrast
On white
6.40
#9231AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#9231AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9231AF
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9231AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9231AF | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#3462AC
Tritanopia (blue-blind)
#914A6D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9231af; /* rgb */ color: rgb(146, 49, 175); /* oklch */ color: oklch(51.1% 0.200 317.3);
Tailwind
colors: {
custom: {
50: '#b672c7',
500: '#9231af',
950: '#000000',
},
}SCSS
$custom: #9231af; $custom-light: #b672c7; $custom-dark: #000000;
JSON
{
"hex": "#9231af",
"rgb": {
"r": 146,
"g": 49,
"b": 175
},
"hsl": {
"h": 286.19,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.51061,
"c": 0.19965,
"h": 317.3
},
"luminance": 0.11403
}Semantic roles & 50–950 ramp
primary
#9231AF
secondary
#89C478
accent
#E0486B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82