#9646E2#9646E2
#9646E2 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.4% C 0.225 H 303.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #9646E2 |
|---|---|
| RGB | rgb(150, 70, 226) |
| HSL | hsl(271, 73%, 58%) |
| HSV | hsv(271, 69%, 89%) |
| CMYK | cmyk(33.6%, 69%, 0%, 11.4%) |
| CIE-LAB | lab(47.44, 61.19, -66.14) |
| CIE-LCH | lch(47.44, 90.11, 312.77°) |
| OKLab | oklab(57.4% 0.1241 -0.1882) |
| OKLCH | oklch(57.4% 0.225 303.4) |
| XYZ | xyz(28.4921, 16.3554, 73.5926) |
| Luminance | 0.1636 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.12
Lightish Purple
#A552E6
ΔE00 4.32
Electric Purple
#AA23FF
ΔE00 4.87
Darkorchid
#9932CC
ΔE00 5.12
Blueviolet
#8A2BE2
ΔE00 5.46
Bright Violet
#AD0AFD
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9646E2 #92E246
analogous
#4846E2 #9646E2 #E246E0
triadic
#9646E2 #E29646 #46E296
tetradic
#9646E2 #E24846 #92E246 #46E0E2
square
#9646E2 #E24846 #92E246 #46E0E2
split-complementary
#9646E2 #E0E246 #46E248
monochromatic
#581896 #7820CB #9646E2 #B47BEA #D2B0F3
Accessibility & contrast
On white
4.92
#9646E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#9646E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9646E2
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9646E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9646E2 | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#876A8F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9646e2; /* rgb */ color: rgb(150, 70, 226); /* oklch */ color: oklch(57.4% 0.225 303.4);
Tailwind
colors: {
custom: {
50: '#ba7fec',
500: '#9646e2',
950: '#000000',
},
}SCSS
$custom: #9646e2; $custom-light: #ba7fec; $custom-dark: #000000;
JSON
{
"hex": "#9646e2",
"rgb": {
"r": 150,
"g": 70,
"b": 226
},
"hsl": {
"h": 270.769,
"s": 72.897,
"l": 58.039
},
"oklch": {
"l": 0.57395,
"c": 0.22542,
"h": 303.4
},
"luminance": 0.16355
}Semantic roles & 50–950 ramp
primary
#9646E2
secondary
#C1E1A3
accent
#F03892
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84