#9131AF#9131AF
#9131AF is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.199 H 316.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #9131AF |
|---|---|
| RGB | rgb(145, 49, 175) |
| HSL | hsl(286, 56%, 44%) |
| HSV | hsv(286, 72%, 69%) |
| CMYK | cmyk(17.1%, 72%, 0%, 31.4%) |
| CIE-LAB | lab(40.10, 58.09, -48.46) |
| CIE-LCH | lch(40.10, 75.65, 320.17°) |
| OKLab | oklab(50.92% 0.1454 -0.1362) |
| OKLCH | oklch(50.92% 0.199 316.9) |
| XYZ | xyz(20.5121, 11.3124, 41.6522) |
| Luminance | 0.1131 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.24
Darkorchid
#9932CC
ΔE00 4.51
Barney
#AC1DB8
ΔE00 4.63
Purple (survey)
#7E1E9C
ΔE00 5.57
Darkviolet
#9400D3
ΔE00 6.01
Medium Purple
#9E43A2
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9131AF #4FAF31
analogous
#5231AF #9131AF #AF318E
triadic
#9131AF #AF9131 #31AF91
tetradic
#9131AF #AF5231 #4FAF31 #318EAF
square
#9131AF #AF5231 #4FAF31 #318EAF
split-complementary
#9131AF #8EAF31 #31AF52
monochromatic
#42164F #69247F #9131AF #B04FCE #C57FDB
Accessibility & contrast
On white
6.44
#9131AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#9131AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9131AF
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9131AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9131AF | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#3361AC
Tritanopia (blue-blind)
#8F4B6D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9131af; /* rgb */ color: rgb(145, 49, 175); /* oklch */ color: oklch(50.9% 0.199 316.9);
Tailwind
colors: {
custom: {
50: '#b572c7',
500: '#9131af',
950: '#000000',
},
}SCSS
$custom: #9131af; $custom-light: #b572c7; $custom-dark: #000000;
JSON
{
"hex": "#9131af",
"rgb": {
"r": 145,
"g": 49,
"b": 175
},
"hsl": {
"h": 285.714,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.50923,
"c": 0.19926,
"h": 316.9
},
"luminance": 0.11312
}Semantic roles & 50–950 ramp
primary
#9131AF
secondary
#8AC478
accent
#E0486C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82