#9651CD#9651CD
#9651CD is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.3% C 0.189 H 307.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9651CD |
|---|---|
| RGB | rgb(150, 81, 205) |
| HSL | hsl(273, 55%, 56%) |
| HSV | hsv(273, 60%, 80%) |
| CMYK | cmyk(26.8%, 60.5%, 0%, 19.6%) |
| CIE-LAB | lab(47.98, 51.03, -53.28) |
| CIE-LCH | lch(47.98, 73.78, 313.76°) |
| OKLab | oklab(57.34% 0.1137 -0.1504) |
| OKLCH | oklch(57.34% 0.189 307.1) |
| XYZ | xyz(26.5373, 16.7770, 59.5860) |
| Luminance | 0.1678 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.42
Amethyst
#9B5FC0
ΔE00 4.72
Purpley
#8756E4
ΔE00 5.03
Deep Lavender
#8D5EB7
ΔE00 5.06
Darkorchid
#9932CC
ΔE00 5.86
Purply
#983FB2
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9651CD #88CD51
analogous
#5851CD #9651CD #CD51C6
triadic
#9651CD #CD9651 #51CD96
tetradic
#9651CD #CD5851 #88CD51 #51C6CD
square
#9651CD #CD5851 #88CD51 #51C6CD
split-complementary
#9651CD #C6CD51 #51CD58
monochromatic
#57257F #7732AF #9651CD #B381DB #CFB0E8
Accessibility & contrast
On white
4.82
#9651CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#9651CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9651CD
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9651CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9651CD | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#166FD1
Deuteranopia (green-blind)
#3B72CA
Tritanopia (blue-blind)
#8D6A87
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9651cd; /* rgb */ color: rgb(150, 81, 205); /* oklch */ color: oklch(57.3% 0.189 307.1);
Tailwind
colors: {
custom: {
50: '#b885dd',
500: '#9651cd',
950: '#000000',
},
}SCSS
$custom: #9651cd; $custom-light: #b885dd; $custom-dark: #000000;
JSON
{
"hex": "#9651cd",
"rgb": {
"r": 150,
"g": 81,
"b": 205
},
"hsl": {
"h": 273.387,
"s": 55.357,
"l": 56.078
},
"oklch": {
"l": 0.57343,
"c": 0.18856,
"h": 307.1
},
"luminance": 0.16777
}Semantic roles & 50–950 ramp
primary
#9651CD
secondary
#BAD7A3
accent
#DF498B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83