#9541C2#9541C2
#9541C2 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.5% C 0.199 H 311.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #9541C2 |
|---|---|
| RGB | rgb(149, 65, 194) |
| HSL | hsl(279, 51%, 51%) |
| HSV | hsv(279, 66%, 76%) |
| CMYK | cmyk(23.2%, 66.5%, 0%, 23.9%) |
| CIE-LAB | lab(44.33, 56.09, -52.80) |
| CIE-LCH | lch(44.33, 77.03, 316.73°) |
| OKLab | oklab(54.46% 0.1317 -0.1489) |
| OKLCH | oklch(54.46% 0.199 311.5) |
| XYZ | xyz(24.0205, 14.0658, 52.4781) |
| Luminance | 0.1406 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.62
Purply
#983FB2
ΔE00 2.97
Barney
#AC1DB8
ΔE00 5.86
Vibrant Purple
#AD03DE
ΔE00 5.97
Blueviolet
#8A2BE2
ΔE00 6.20
Medium Purple
#9E43A2
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9541C2 #6EC241
analogous
#5441C2 #9541C2 #C241AE
triadic
#9541C2 #C29541 #41C295
tetradic
#9541C2 #C25441 #6EC241 #41AEC2
square
#9541C2 #C25441 #6EC241 #41AEC2
split-complementary
#9541C2 #AEC241 #41C254
monochromatic
#4F2167 #723096 #9541C2 #AF6FD1 #C99EE0
Accessibility & contrast
On white
5.51
#9541C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#9541C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9541C2
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9541C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9541C2 | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#336ABF
Tritanopia (blue-blind)
#905B7C
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9541c2; /* rgb */ color: rgb(149, 65, 194); /* oklch */ color: oklch(54.5% 0.199 311.5);
Tailwind
colors: {
custom: {
50: '#b87bd5',
500: '#9541c2',
950: '#000000',
},
}SCSS
$custom: #9541c2; $custom-light: #b87bd5; $custom-dark: #000000;
JSON
{
"hex": "#9541c2",
"rgb": {
"r": 149,
"g": 65,
"b": 194
},
"hsl": {
"h": 279.07,
"s": 51.394,
"l": 50.784
},
"oklch": {
"l": 0.54456,
"c": 0.19884,
"h": 311.5
},
"luminance": 0.14065
}Semantic roles & 50–950 ramp
primary
#9541C2
secondary
#A7CC93
accent
#DB4D7E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83