#9748CA#9748CA
#9748CA is a mid, vivid violet. Relative luminance 0.155; OKLCH L 56.1% C 0.198 H 309.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9748CA |
|---|---|
| RGB | rgb(151, 72, 202) |
| HSL | hsl(276, 55%, 54%) |
| HSV | hsv(276, 64%, 79%) |
| CMYK | cmyk(25.2%, 64.4%, 0%, 20.8%) |
| CIE-LAB | lab(46.28, 55.02, -54.27) |
| CIE-LCH | lch(46.28, 77.28, 315.39°) |
| OKLab | oklab(56.08% 0.1258 -0.1532) |
| OKLCH | oklch(56.08% 0.198 309.4) |
| XYZ | xyz(25.7384, 15.4788, 57.4975) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.82
Purply
#983FB2
ΔE00 4.54
Lightish Purple
#A552E6
ΔE00 5.66
Amethyst
#9B5FC0
ΔE00 6.23
Purpley
#8756E4
ΔE00 6.26
Deep Lavender
#8D5EB7
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9748CA #7BCA48
analogous
#5648CA #9748CA #CA48BC
triadic
#9748CA #CA9748 #48CA97
tetradic
#9748CA #CA5648 #7BCA48 #48BCCA
square
#9748CA #CA5648 #7BCA48 #48BCCA
split-complementary
#9748CA #BCCA48 #48CA56
monochromatic
#552276 #7730A5 #9748CA #B277D8 #CDA7E5
Accessibility & contrast
On white
5.13
#9748CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#9748CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9748CA
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9748CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9748CA | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#346FC7
Tritanopia (blue-blind)
#906283
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9748ca; /* rgb */ color: rgb(151, 72, 202); /* oklch */ color: oklch(56.1% 0.198 309.4);
Tailwind
colors: {
custom: {
50: '#b980db',
500: '#9748ca',
950: '#000000',
},
}SCSS
$custom: #9748ca; $custom-light: #b980db; $custom-dark: #000000;
JSON
{
"hex": "#9748ca",
"rgb": {
"r": 151,
"g": 72,
"b": 202
},
"hsl": {
"h": 276.462,
"s": 55.085,
"l": 53.725
},
"oklch": {
"l": 0.56083,
"c": 0.19826,
"h": 309.4
},
"luminance": 0.15478
}Semantic roles & 50–950 ramp
primary
#9748CA
secondary
#B1D39B
accent
#DE4984
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83