#9131E2#9131E2
#9131E2 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.7% C 0.246 H 303.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9131E2 |
|---|---|
| RGB | rgb(145, 49, 226) |
| HSL | hsl(273, 75%, 54%) |
| HSV | hsv(273, 78%, 89%) |
| CMYK | cmyk(35.8%, 78.3%, 0%, 11.4%) |
| CIE-LAB | lab(43.81, 68.84, -72.07) |
| CIE-LCH | lch(43.81, 99.67, 313.68°) |
| OKLab | oklab(54.7% 0.1359 -0.2056) |
| OKLCH | oklch(54.7% 0.246 303.5) |
| XYZ | xyz(26.4996, 13.7074, 73.1865) |
| Luminance | 0.1371 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 1.66
Violet (survey)
#9A0EEA
ΔE00 2.64
Vivid Purple
#9900FA
ΔE00 3.46
Darkorchid
#9932CC
ΔE00 3.56
Violet
#8F00FF
ΔE00 4.11
Darkviolet
#9400D3
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9131E2 #82E231
analogous
#3931E2 #9131E2 #E231DB
triadic
#9131E2 #E29131 #31E291
tetradic
#9131E2 #E23931 #82E231 #31DBE2
square
#9131E2 #E23931 #82E231 #31DBE2
split-complementary
#9131E2 #DBE231 #31E239
monochromatic
#511386 #721ABB #9131E2 #AE67EA #CA9CF1
Accessibility & contrast
On white
5.61
#9131E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#9131E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9131E2
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9131E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9131E2 | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#0067DF
Tritanopia (blue-blind)
#80618A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9131e2; /* rgb */ color: rgb(145, 49, 226); /* oklch */ color: oklch(54.7% 0.246 303.5);
Tailwind
colors: {
custom: {
50: '#b874ec',
500: '#9131e2',
950: '#000000',
},
}SCSS
$custom: #9131e2; $custom-light: #b874ec; $custom-dark: #000000;
JSON
{
"hex": "#9131e2",
"rgb": {
"r": 145,
"g": 49,
"b": 226
},
"hsl": {
"h": 272.542,
"s": 75.319,
"l": 53.922
},
"oklch": {
"l": 0.547,
"c": 0.24644,
"h": 303.5
},
"luminance": 0.13707
}Semantic roles & 50–950 ramp
primary
#9131E2
secondary
#B4DD92
accent
#F2368C
background
#FCF7FE
surface
#F8EDFD
border
#D1C8D5
text
#120916
muted
#817B84