#946CDC#946CDC
#946CDC is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.2% C 0.166 H 297.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #946CDC |
|---|---|
| RGB | rgb(148, 108, 220) |
| HSL | hsl(261, 62%, 64%) |
| HSV | hsv(261, 51%, 86%) |
| CMYK | cmyk(32.7%, 50.9%, 0%, 13.7%) |
| CIE-LAB | lab(54.23, 39.58, -51.84) |
| CIE-LCH | lch(54.23, 65.22, 307.36°) |
| OKLab | oklab(62.17% 0.0775 -0.1463) |
| OKLCH | oklch(62.17% 0.166 297.9) |
| XYZ | xyz(30.4904, 22.1880, 70.3726) |
| Luminance | 0.2219 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 1.21
Lighter Purple
#A55AF4
ΔE00 5.73
Mediumslateblue
#7B68EE
ΔE00 5.88
Deep Lilac
#966EBD
ΔE00 5.99
Light Urple
#B36FF6
ΔE00 6.37
Amethyst
#9B5FC0
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#946CDC #B4DC6C
analogous
#6C7CDC #946CDC #CC6CDC
triadic
#946CDC #DC946C #6CDC94
tetradic
#946CDC #DC6C7C #B4DC6C #6CDCCC
square
#946CDC #DC6C7C #B4DC6C #6CDCCC
split-complementary
#946CDC #DCCC6C #7CDC6C
monochromatic
#5528A6 #703BD0 #946CDC #B89DE8 #DCCFF4
Accessibility & contrast
On white
3.86
#946CDC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#946CDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #946CDC
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##946CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##946CDC | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4382E0
Deuteranopia (green-blind)
#4D81D9
Tritanopia (blue-blind)
#84829A
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #946cdc; /* rgb */ color: rgb(148, 108, 220); /* oklch */ color: oklch(62.2% 0.166 297.9);
Tailwind
colors: {
custom: {
50: '#b797e7',
500: '#946cdc',
950: '#000000',
},
}SCSS
$custom: #946cdc; $custom-light: #b797e7; $custom-dark: #000000;
JSON
{
"hex": "#946cdc",
"rgb": {
"r": 148,
"g": 108,
"b": 220
},
"hsl": {
"h": 261.429,
"s": 61.538,
"l": 64.314
},
"oklch": {
"l": 0.62174,
"c": 0.16554,
"h": 297.9
},
"luminance": 0.22188
}Semantic roles & 50–950 ramp
primary
#946CDC
secondary
#D7E5BE
accent
#C91C8B
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120D16
muted
#817E84