#945CDE#945CDE
#945CDE is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.8% C 0.192 H 300.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #945CDE |
|---|---|
| RGB | rgb(148, 92, 222) |
| HSL | hsl(266, 66%, 62%) |
| HSV | hsv(266, 59%, 87%) |
| CMYK | cmyk(33.3%, 58.6%, 0%, 12.9%) |
| CIE-LAB | lab(50.95, 48.89, -58.22) |
| CIE-LCH | lch(50.95, 76.03, 310.02°) |
| OKLab | oklab(59.8% 0.0975 -0.165) |
| OKLCH | oklch(59.8% 0.192 300.6) |
| XYZ | xyz(29.2216, 19.2239, 71.2642) |
| Luminance | 0.1922 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.20
Lightish Purple
#A552E6
ΔE00 3.46
Lighter Purple
#A55AF4
ΔE00 4.01
Mediumpurple
#9370DB
ΔE00 5.55
Amethyst
#9B5FC0
ΔE00 5.73
Mediumslateblue
#7B68EE
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945CDE #A6DE5C
analogous
#5C65DE #945CDE #D55CDE
triadic
#945CDE #DE945C #5CDE94
tetradic
#945CDE #DE5C65 #A6DE5C #5CDED5
square
#945CDE #DE5C65 #A6DE5C #5CDED5
split-complementary
#945CDE #DED55C #65DE5C
monochromatic
#57209F #732BD2 #945CDE #B58FE8 #D7C2F3
Accessibility & contrast
On white
4.33
#945CDE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#945CDE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #945CDE
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945CDE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##945CDE | 1.00 | 4.33 | 4.84 | 4.84 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1679E2
Deuteranopia (green-blind)
#3479DB
Tritanopia (blue-blind)
#857794
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #945cde; /* rgb */ color: rgb(148, 92, 222); /* oklch */ color: oklch(59.8% 0.192 300.6);
Tailwind
colors: {
custom: {
50: '#b88ce9',
500: '#945cde',
950: '#000000',
},
}SCSS
$custom: #945cde; $custom-light: #b88ce9; $custom-dark: #000000;
JSON
{
"hex": "#945cde",
"rgb": {
"r": 148,
"g": 92,
"b": 222
},
"hsl": {
"h": 265.846,
"s": 66.327,
"l": 61.569
},
"oklch": {
"l": 0.59795,
"c": 0.19165,
"h": 300.6
},
"luminance": 0.19224
}Semantic roles & 50–950 ramp
primary
#945CDE
secondary
#CEE3B3
accent
#CE177F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84