#945CDA#945CDA
#945CDA is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.5% C 0.187 H 301.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #945CDA |
|---|---|
| RGB | rgb(148, 92, 218) |
| HSL | hsl(267, 63%, 61%) |
| HSV | hsv(267, 58%, 85%) |
| CMYK | cmyk(32.1%, 57.8%, 0%, 14.5%) |
| CIE-LAB | lab(50.70, 47.91, -56.35) |
| CIE-LCH | lch(50.70, 73.96, 310.37°) |
| OKLab | oklab(59.54% 0.0975 -0.1595) |
| OKLCH | oklch(59.54% 0.187 301.4) |
| XYZ | xyz(28.6918, 19.0120, 68.4742) |
| Luminance | 0.1901 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.47
Lightish Purple
#A552E6
ΔE00 3.58
Lighter Purple
#A55AF4
ΔE00 4.43
Amethyst
#9B5FC0
ΔE00 5.17
Mediumpurple
#9370DB
ΔE00 5.60
Deep Lavender
#8D5EB7
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945CDA #A2DA5C
analogous
#5C63DA #945CDA #D35CDA
triadic
#945CDA #DA945C #5CDA94
tetradic
#945CDA #DA5C63 #A2DA5C #5CDAD3
square
#945CDA #DA5C63 #A2DA5C #5CDAD3
split-complementary
#945CDA #DAD35C #63DA5C
monochromatic
#572399 #742ECB #945CDA #B58EE5 #D5C0F1
Accessibility & contrast
On white
4.37
#945CDA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#945CDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #945CDA
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945CDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##945CDA | 1.00 | 4.37 | 4.80 | 4.80 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2078DE
Deuteranopia (green-blind)
#3978D7
Tritanopia (blue-blind)
#867692
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #945cda; /* rgb */ color: rgb(148, 92, 218); /* oklch */ color: oklch(59.5% 0.187 301.4);
Tailwind
colors: {
custom: {
50: '#b78ce6',
500: '#945cda',
950: '#000000',
},
}SCSS
$custom: #945cda; $custom-light: #b78ce6; $custom-dark: #000000;
JSON
{
"hex": "#945cda",
"rgb": {
"r": 148,
"g": 92,
"b": 218
},
"hsl": {
"h": 266.667,
"s": 63,
"l": 60.784
},
"oklch": {
"l": 0.59535,
"c": 0.18696,
"h": 301.4
},
"luminance": 0.19012
}Semantic roles & 50–950 ramp
primary
#945CDA
secondary
#CCE1B1
accent
#CB1B7D
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84