#9147CA#9147CA
#9147CA is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.2% C 0.198 H 307.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9147CA |
|---|---|
| RGB | rgb(145, 71, 202) |
| HSL | hsl(274, 55%, 54%) |
| HSV | hsv(274, 65%, 79%) |
| CMYK | cmyk(28.2%, 64.9%, 0%, 20.8%) |
| CIE-LAB | lab(45.35, 54.17, -55.82) |
| CIE-LCH | lch(45.35, 77.78, 314.14°) |
| OKLab | oklab(55.24% 0.1192 -0.158) |
| OKLCH | oklch(55.24% 0.198 307) |
| XYZ | xyz(24.5887, 14.7908, 57.4252) |
| Luminance | 0.1479 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.57
Purply
#983FB2
ΔE00 4.83
Blueviolet
#8A2BE2
ΔE00 5.80
Purpley
#8756E4
ΔE00 5.93
Lightish Purple
#A552E6
ΔE00 6.39
Deep Lavender
#8D5EB7
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9147CA #80CA47
analogous
#4F47CA #9147CA #CA47C1
triadic
#9147CA #CA9147 #47CA91
tetradic
#9147CA #CA4F47 #80CA47 #47C1CA
square
#9147CA #CA4F47 #80CA47 #47C1CA
split-complementary
#9147CA #C1CA47 #47CA4F
monochromatic
#512275 #712FA4 #9147CA #AD77D8 #CAA6E5
Accessibility & contrast
On white
5.31
#9147CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#9147CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9147CA
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9147CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9147CA | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#2A6CC7
Tritanopia (blue-blind)
#886382
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9147ca; /* rgb */ color: rgb(145, 71, 202); /* oklch */ color: oklch(55.2% 0.198 307.0);
Tailwind
colors: {
custom: {
50: '#b57fdb',
500: '#9147ca',
950: '#000000',
},
}SCSS
$custom: #9147ca; $custom-light: #b57fdb; $custom-dark: #000000;
JSON
{
"hex": "#9147ca",
"rgb": {
"r": 145,
"g": 71,
"b": 202
},
"hsl": {
"h": 273.893,
"s": 55.274,
"l": 53.529
},
"oklch": {
"l": 0.55243,
"c": 0.19787,
"h": 307
},
"luminance": 0.1479
}Semantic roles & 50–950 ramp
primary
#9147CA
secondary
#B3D29A
accent
#DF498A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83