#945CDD#945CDD
#945CDD is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.7% C 0.190 H 300.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #945CDD |
|---|---|
| RGB | rgb(148, 92, 221) |
| HSL | hsl(266, 65%, 61%) |
| HSV | hsv(266, 58%, 87%) |
| CMYK | cmyk(33%, 58.4%, 0%, 13.3%) |
| CIE-LAB | lab(50.89, 48.64, -57.75) |
| CIE-LCH | lch(50.89, 75.51, 310.11°) |
| OKLab | oklab(59.73% 0.0975 -0.1636) |
| OKLCH | oklch(59.73% 0.19 300.8) |
| XYZ | xyz(29.0879, 19.1705, 70.5604) |
| Luminance | 0.1917 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.26
Lightish Purple
#A552E6
ΔE00 3.48
Lighter Purple
#A55AF4
ΔE00 4.11
Mediumpurple
#9370DB
ΔE00 5.56
Amethyst
#9B5FC0
ΔE00 5.59
Deep Lavender
#8D5EB7
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945CDD #A5DD5C
analogous
#5C65DD #945CDD #D55CDD
triadic
#945CDD #DD945C #5CDD94
tetradic
#945CDD #DD5C65 #A5DD5C #5CDDD5
square
#945CDD #DD5C65 #A5DD5C #5CDDD5
split-complementary
#945CDD #DDD55C #65DD5C
monochromatic
#57219E #732BD0 #945CDD #B58FE8 #D6C1F2
Accessibility & contrast
On white
4.34
#945CDD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#945CDD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #945CDD
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945CDD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##945CDD | 1.00 | 4.34 | 4.83 | 4.83 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1979E1
Deuteranopia (green-blind)
#3578DA
Tritanopia (blue-blind)
#857794
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #945cdd; /* rgb */ color: rgb(148, 92, 221); /* oklch */ color: oklch(59.7% 0.190 300.8);
Tailwind
colors: {
custom: {
50: '#b88ce8',
500: '#945cdd',
950: '#000000',
},
}SCSS
$custom: #945cdd; $custom-light: #b88ce8; $custom-dark: #000000;
JSON
{
"hex": "#945cdd",
"rgb": {
"r": 148,
"g": 92,
"b": 221
},
"hsl": {
"h": 266.047,
"s": 65.482,
"l": 61.373
},
"oklch": {
"l": 0.59729,
"c": 0.19048,
"h": 300.8
},
"luminance": 0.19171
}Semantic roles & 50–950 ramp
primary
#945CDD
secondary
#CEE3B2
accent
#CD187F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84