#9745C5#9745C5
#9745C5 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.4% C 0.197 H 311.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #9745C5 |
|---|---|
| RGB | rgb(151, 69, 197) |
| HSL | hsl(278, 52%, 52%) |
| HSV | hsv(278, 65%, 77%) |
| CMYK | cmyk(23.4%, 65%, 0%, 22.7%) |
| CIE-LAB | lab(45.45, 55.34, -52.72) |
| CIE-LCH | lch(45.45, 76.43, 316.39°) |
| OKLab | oklab(55.38% 0.1295 -0.1487) |
| OKLCH | oklch(55.38% 0.197 311.1) |
| XYZ | xyz(24.9668, 14.8673, 54.3670) |
| Luminance | 0.1487 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.27
Purply
#983FB2
ΔE00 3.52
Vibrant Purple
#AD03DE
ΔE00 6.22
Barney
#AC1DB8
ΔE00 6.41
Blueviolet
#8A2BE2
ΔE00 6.62
Deep Lavender
#8D5EB7
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9745C5 #73C545
analogous
#5745C5 #9745C5 #C545B3
triadic
#9745C5 #C59745 #45C597
tetradic
#9745C5 #C55745 #73C545 #45B3C5
square
#9745C5 #C55745 #73C545 #45B3C5
split-complementary
#9745C5 #B3C545 #45C557
monochromatic
#52226D #76319C #9745C5 #B174D4 #CBA2E2
Accessibility & contrast
On white
5.29
#9745C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#9745C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9745C5
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9745C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9745C5 | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#376DC2
Tritanopia (blue-blind)
#915F7F
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9745c5; /* rgb */ color: rgb(151, 69, 197); /* oklch */ color: oklch(55.4% 0.197 311.1);
Tailwind
colors: {
custom: {
50: '#b97ed7',
500: '#9745c5',
950: '#000000',
},
}SCSS
$custom: #9745c5; $custom-light: #b97ed7; $custom-dark: #000000;
JSON
{
"hex": "#9745c5",
"rgb": {
"r": 151,
"g": 69,
"b": 197
},
"hsl": {
"h": 278.438,
"s": 52.459,
"l": 52.157
},
"oklch": {
"l": 0.55382,
"c": 0.19719,
"h": 311.1
},
"luminance": 0.14867
}Semantic roles & 50–950 ramp
primary
#9745C5
secondary
#ABCF97
accent
#DC4C80
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83