#9648CA#9648CA
#9648CA is a mid, vivid violet. Relative luminance 0.154; OKLCH L 56.0% C 0.198 H 309.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9648CA |
|---|---|
| RGB | rgb(150, 72, 202) |
| HSL | hsl(276, 55%, 54%) |
| HSV | hsv(276, 64%, 79%) |
| CMYK | cmyk(25.7%, 64.4%, 0%, 20.8%) |
| CIE-LAB | lab(46.16, 54.80, -54.48) |
| CIE-LCH | lch(46.16, 77.27, 315.16°) |
| OKLab | oklab(55.96% 0.1245 -0.1539) |
| OKLCH | oklch(55.96% 0.198 309) |
| XYZ | xyz(25.5536, 15.3835, 57.4888) |
| Luminance | 0.1538 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.78
Purply
#983FB2
ΔE00 4.58
Lightish Purple
#A552E6
ΔE00 5.75
Purpley
#8756E4
ΔE00 6.17
Deep Lavender
#8D5EB7
ΔE00 6.32
Amethyst
#9B5FC0
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9648CA #7CCA48
analogous
#5548CA #9648CA #CA48BD
triadic
#9648CA #CA9648 #48CA96
tetradic
#9648CA #CA5548 #7CCA48 #48BDCA
square
#9648CA #CA5548 #7CCA48 #48BDCA
split-complementary
#9648CA #BDCA48 #48CA55
monochromatic
#542276 #7630A5 #9648CA #B177D8 #CCA7E5
Accessibility & contrast
On white
5.15
#9648CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#9648CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9648CA
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9648CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9648CA | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#336EC7
Tritanopia (blue-blind)
#8E6383
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9648ca; /* rgb */ color: rgb(150, 72, 202); /* oklch */ color: oklch(56.0% 0.198 309.0);
Tailwind
colors: {
custom: {
50: '#b980db',
500: '#9648ca',
950: '#000000',
},
}SCSS
$custom: #9648ca; $custom-light: #b980db; $custom-dark: #000000;
JSON
{
"hex": "#9648ca",
"rgb": {
"r": 150,
"g": 72,
"b": 202
},
"hsl": {
"h": 276,
"s": 55.085,
"l": 53.725
},
"oklch": {
"l": 0.55963,
"c": 0.19796,
"h": 309
},
"luminance": 0.15383
}Semantic roles & 50–950 ramp
primary
#9648CA
secondary
#B1D39B
accent
#DE4985
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83