#945BDE#945BDE
#945BDE is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.6% C 0.193 H 300.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #945BDE |
|---|---|
| RGB | rgb(148, 91, 222) |
| HSL | hsl(266, 66%, 61%) |
| HSV | hsv(266, 59%, 87%) |
| CMYK | cmyk(33.3%, 59%, 0%, 12.9%) |
| CIE-LAB | lab(50.75, 49.42, -58.54) |
| CIE-LCH | lch(50.75, 76.62, 310.17°) |
| OKLab | oklab(59.65% 0.0987 -0.1659) |
| OKLCH | oklch(59.65% 0.193 300.7) |
| XYZ | xyz(29.1355, 19.0518, 71.2355) |
| Luminance | 0.1905 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.07
Lightish Purple
#A552E6
ΔE00 3.35
Lighter Purple
#A55AF4
ΔE00 4.05
Amethyst
#9B5FC0
ΔE00 5.76
Mediumpurple
#9370DB
ΔE00 5.80
Deep Lavender
#8D5EB7
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945BDE #A5DE5B
analogous
#5B64DE #945BDE #D65BDE
triadic
#945BDE #DE945B #5BDE94
tetradic
#945BDE #DE5B64 #A5DE5B #5BDED6
square
#945BDE #DE5B64 #A5DE5B #5BDED6
split-complementary
#945BDE #DED65B #64DE5B
monochromatic
#57209F #732AD2 #945BDE #B58EE8 #D6C1F3
Accessibility & contrast
On white
4.37
#945BDE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#945BDE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #945BDE
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945BDE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##945BDE | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1178E2
Deuteranopia (green-blind)
#3278DB
Tritanopia (blue-blind)
#857694
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #945bde; /* rgb */ color: rgb(148, 91, 222); /* oklch */ color: oklch(59.6% 0.193 300.7);
Tailwind
colors: {
custom: {
50: '#b88ce9',
500: '#945bde',
950: '#000000',
},
}SCSS
$custom: #945bde; $custom-light: #b88ce9; $custom-dark: #000000;
JSON
{
"hex": "#945bde",
"rgb": {
"r": 148,
"g": 91,
"b": 222
},
"hsl": {
"h": 266.107,
"s": 66.497,
"l": 61.373
},
"oklch": {
"l": 0.59648,
"c": 0.19307,
"h": 300.7
},
"luminance": 0.19052
}Semantic roles & 50–950 ramp
primary
#945BDE
secondary
#CEE3B2
accent
#CE177F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84