#9646E3#9646E3
#9646E3 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.5% C 0.226 H 303.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9646E3 |
|---|---|
| RGB | rgb(150, 70, 227) |
| HSL | hsl(271, 74%, 58%) |
| HSV | hsv(271, 69%, 89%) |
| CMYK | cmyk(33.9%, 69.2%, 0%, 11%) |
| CIE-LAB | lab(47.51, 61.43, -66.59) |
| CIE-LCH | lch(47.51, 90.60, 312.69°) |
| OKLab | oklab(57.47% 0.124 -0.1895) |
| OKLCH | oklch(57.47% 0.226 303.2) |
| XYZ | xyz(28.6297, 16.4104, 74.3174) |
| Luminance | 0.1641 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.07
Lightish Purple
#A552E6
ΔE00 4.30
Electric Purple
#AA23FF
ΔE00 4.80
Darkorchid
#9932CC
ΔE00 5.23
Blueviolet
#8A2BE2
ΔE00 5.48
Bright Violet
#AD0AFD
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9646E3 #93E346
analogous
#4746E3 #9646E3 #E346E2
triadic
#9646E3 #E39646 #46E396
tetradic
#9646E3 #E34746 #93E346 #46E2E3
square
#9646E3 #E34746 #93E346 #46E2E3
split-complementary
#9646E3 #E2E346 #46E347
monochromatic
#591798 #781FCD #9646E3 #B47BEB #D2B0F3
Accessibility & contrast
On white
4.90
#9646E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#9646E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9646E3
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9646E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9646E3 | 1.00 | 4.90 | 4.28 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#0070E0
Tritanopia (blue-blind)
#876B90
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9646e3; /* rgb */ color: rgb(150, 70, 227); /* oklch */ color: oklch(57.5% 0.226 303.2);
Tailwind
colors: {
custom: {
50: '#bb7fed',
500: '#9646e3',
950: '#000000',
},
}SCSS
$custom: #9646e3; $custom-light: #bb7fed; $custom-dark: #000000;
JSON
{
"hex": "#9646e3",
"rgb": {
"r": 150,
"g": 70,
"b": 227
},
"hsl": {
"h": 270.573,
"s": 73.709,
"l": 58.235
},
"oklch": {
"l": 0.57468,
"c": 0.22645,
"h": 303.2
},
"luminance": 0.1641
}Semantic roles & 50–950 ramp
primary
#9646E3
secondary
#C2E2A3
accent
#F03792
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84