#9145C7#9145C7
#9145C7 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.8% C 0.197 H 308.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #9145C7 |
|---|---|
| RGB | rgb(145, 69, 199) |
| HSL | hsl(275, 54%, 53%) |
| HSV | hsv(275, 65%, 78%) |
| CMYK | cmyk(27.1%, 65.3%, 0%, 22%) |
| CIE-LAB | lab(44.80, 54.45, -54.96) |
| CIE-LCH | lch(44.80, 77.36, 314.73°) |
| OKLab | oklab(54.79% 0.1217 -0.1555) |
| OKLCH | oklch(54.79% 0.197 308) |
| XYZ | xyz(24.1119, 14.3999, 55.5310) |
| Luminance | 0.1440 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.16
Purply
#983FB2
ΔE00 4.26
Blueviolet
#8A2BE2
ΔE00 5.75
Vibrant Purple
#AD03DE
ΔE00 6.48
Purpley
#8756E4
ΔE00 6.57
Royal Purple
#7851A9
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9145C7 #7BC745
analogous
#5045C7 #9145C7 #C745BC
triadic
#9145C7 #C79145 #45C791
tetradic
#9145C7 #C75045 #7BC745 #45BCC7
square
#9145C7 #C75045 #7BC745 #45BCC7
split-complementary
#9145C7 #BCC745 #45C750
monochromatic
#4F2270 #71309F #9145C7 #AD74D5 #C9A3E3
Accessibility & contrast
On white
5.41
#9145C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#9145C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9145C7
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9145C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9145C7 | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#2C6BC4
Tritanopia (blue-blind)
#896080
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #9145c7; /* rgb */ color: rgb(145, 69, 199); /* oklch */ color: oklch(54.8% 0.197 308.0);
Tailwind
colors: {
custom: {
50: '#b57ed9',
500: '#9145c7',
950: '#000000',
},
}SCSS
$custom: #9145c7; $custom-light: #b57ed9; $custom-dark: #000000;
JSON
{
"hex": "#9145c7",
"rgb": {
"r": 145,
"g": 69,
"b": 199
},
"hsl": {
"h": 275.077,
"s": 53.719,
"l": 52.549
},
"oklch": {
"l": 0.54788,
"c": 0.1974,
"h": 308
},
"luminance": 0.144
}Semantic roles & 50–950 ramp
primary
#9145C7
secondary
#AFD098
accent
#DD4B88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A15
muted
#817C83