#9648CC#9648CC
#9648CC is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.1% C 0.200 H 308.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9648CC |
|---|---|
| RGB | rgb(150, 72, 204) |
| HSL | hsl(275, 56%, 54%) |
| HSV | hsv(275, 65%, 80%) |
| CMYK | cmyk(26.5%, 64.7%, 0%, 20%) |
| CIE-LAB | lab(46.28, 55.24, -55.43) |
| CIE-LCH | lch(46.28, 78.26, 314.90°) |
| OKLab | oklab(56.1% 0.1244 -0.1567) |
| OKLCH | oklch(56.1% 0.2 308.4) |
| XYZ | xyz(25.7919, 15.4788, 58.7440) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.81
Purply
#983FB2
ΔE00 4.87
Lightish Purple
#A552E6
ΔE00 5.54
Purpley
#8756E4
ΔE00 5.92
Blueviolet
#8A2BE2
ΔE00 6.35
Amethyst
#9B5FC0
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9648CC #7ECC48
analogous
#5448CC #9648CC #CC48C0
triadic
#9648CC #CC9648 #48CC96
tetradic
#9648CC #CC5448 #7ECC48 #48C0CC
square
#9648CC #CC5448 #7ECC48 #48C0CC
split-complementary
#9648CC #C0CC48 #48CC54
monochromatic
#552178 #762FA8 #9648CC #B178D9 #CDA8E7
Accessibility & contrast
On white
5.13
#9648CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#9648CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9648CC
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9648CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9648CC | 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)
#006BD0
Deuteranopia (green-blind)
#316FC9
Tritanopia (blue-blind)
#8E6384
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9648cc; /* rgb */ color: rgb(150, 72, 204); /* oklch */ color: oklch(56.1% 0.200 308.4);
Tailwind
colors: {
custom: {
50: '#b980dc',
500: '#9648cc',
950: '#000000',
},
}SCSS
$custom: #9648cc; $custom-light: #b980dc; $custom-dark: #000000;
JSON
{
"hex": "#9648cc",
"rgb": {
"r": 150,
"g": 72,
"b": 204
},
"hsl": {
"h": 275.455,
"s": 56.41,
"l": 54.118
},
"oklch": {
"l": 0.56096,
"c": 0.20006,
"h": 308.4
},
"luminance": 0.15478
}Semantic roles & 50–950 ramp
primary
#9648CC
secondary
#B3D49C
accent
#E04886
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83