#9131C2#9131C2
#9131C2 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.2% C 0.217 H 311.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9131C2 |
|---|---|
| RGB | rgb(145, 49, 194) |
| HSL | hsl(280, 60%, 48%) |
| HSV | hsv(280, 75%, 76%) |
| CMYK | cmyk(25.3%, 74.7%, 0%, 23.9%) |
| CIE-LAB | lab(41.39, 61.97, -57.56) |
| CIE-LCH | lch(41.39, 84.57, 317.11°) |
| OKLab | oklab(52.25% 0.1429 -0.163) |
| OKLCH | oklch(52.25% 0.217 311.2) |
| XYZ | xyz(22.5111, 12.1120, 52.1805) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.99
Darkviolet
#9400D3
ΔE00 4.00
Purply
#983FB2
ΔE00 4.30
Blueviolet
#8A2BE2
ΔE00 4.78
Vibrant Purple
#AD03DE
ΔE00 5.28
Violet (survey)
#9A0EEA
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9131C2 #62C231
analogous
#4831C2 #9131C2 #C231AB
triadic
#9131C2 #C29131 #31C291
tetradic
#9131C2 #C24831 #62C231 #31ABC2
square
#9131C2 #C24831 #62C231 #31ABC2
split-complementary
#9131C2 #ABC231 #31C248
monochromatic
#481860 #6C2591 #9131C2 #AC5BD6 #C58CE2
Accessibility & contrast
On white
6.14
#9131C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#9131C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9131C2
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9131C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9131C2 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#1563BF
Tritanopia (blue-blind)
#8B5378
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #9131c2; /* rgb */ color: rgb(145, 49, 194); /* oklch */ color: oklch(52.2% 0.217 311.2);
Tailwind
colors: {
custom: {
50: '#b673d5',
500: '#9131c2',
950: '#000000',
},
}SCSS
$custom: #9131c2; $custom-light: #b673d5; $custom-dark: #000000;
JSON
{
"hex": "#9131c2",
"rgb": {
"r": 145,
"g": 49,
"b": 194
},
"hsl": {
"h": 279.724,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.52249,
"c": 0.21672,
"h": 311.2
},
"luminance": 0.12111
}Semantic roles & 50–950 ramp
primary
#9131C2
secondary
#9CCC83
accent
#E3457A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83