#945BDC#945BDC
#945BDC is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.191 H 301.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #945BDC |
|---|---|
| RGB | rgb(148, 91, 220) |
| HSL | hsl(267, 65%, 61%) |
| HSV | hsv(267, 59%, 86%) |
| CMYK | cmyk(32.7%, 58.6%, 0%, 13.7%) |
| CIE-LAB | lab(50.62, 48.93, -57.61) |
| CIE-LCH | lch(50.62, 75.58, 310.34°) |
| OKLab | oklab(59.52% 0.0987 -0.1632) |
| OKLCH | oklch(59.52% 0.191 301.2) |
| XYZ | xyz(28.8690, 18.9452, 69.8321) |
| Luminance | 0.1895 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.20
Lightish Purple
#A552E6
ΔE00 3.40
Lighter Purple
#A55AF4
ΔE00 4.25
Amethyst
#9B5FC0
ΔE00 5.49
Mediumpurple
#9370DB
ΔE00 5.82
Deep Lavender
#8D5EB7
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945BDC #A3DC5B
analogous
#5B62DC #945BDC #D55BDC
triadic
#945BDC #DC945B #5BDC94
tetradic
#945BDC #DC5B62 #A3DC5B #5BDCD5
square
#945BDC #DC5B62 #A3DC5B #5BDCD5
split-complementary
#945BDC #DCD55B #62DC5B
monochromatic
#57219B #732CCE #945BDC #B58DE7 #D6C0F2
Accessibility & contrast
On white
4.39
#945BDC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#945BDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #945BDC
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945BDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##945BDC | 1.00 | 4.39 | 4.79 | 4.79 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1778E0
Deuteranopia (green-blind)
#3578D9
Tritanopia (blue-blind)
#857693
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #945bdc; /* rgb */ color: rgb(148, 91, 220); /* oklch */ color: oklch(59.5% 0.191 301.2);
Tailwind
colors: {
custom: {
50: '#b88ce8',
500: '#945bdc',
950: '#000000',
},
}SCSS
$custom: #945bdc; $custom-light: #b88ce8; $custom-dark: #000000;
JSON
{
"hex": "#945bdc",
"rgb": {
"r": 148,
"g": 91,
"b": 220
},
"hsl": {
"h": 266.512,
"s": 64.824,
"l": 60.98
},
"oklch": {
"l": 0.59517,
"c": 0.19074,
"h": 301.2
},
"luminance": 0.18945
}Semantic roles & 50–950 ramp
primary
#945BDC
secondary
#CCE2B1
accent
#CD197D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84