#945CD8#945CD8
#945CD8 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.4% C 0.185 H 301.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #945CD8 |
|---|---|
| RGB | rgb(148, 92, 216) |
| HSL | hsl(267, 61%, 60%) |
| HSV | hsv(267, 57%, 85%) |
| CMYK | cmyk(31.5%, 57.4%, 0%, 15.3%) |
| CIE-LAB | lab(50.58, 47.41, -55.41) |
| CIE-LCH | lch(50.58, 72.93, 310.55°) |
| OKLab | oklab(59.41% 0.0975 -0.1567) |
| OKLCH | oklch(59.41% 0.185 301.9) |
| XYZ | xyz(28.4317, 18.9080, 67.1042) |
| Luminance | 0.1891 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.65
Lightish Purple
#A552E6
ΔE00 3.68
Lighter Purple
#A55AF4
ΔE00 4.65
Amethyst
#9B5FC0
ΔE00 4.88
Deep Lavender
#8D5EB7
ΔE00 5.60
Mediumpurple
#9370DB
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945CD8 #A0D85C
analogous
#5C62D8 #945CD8 #D25CD8
triadic
#945CD8 #D8945C #5CD894
tetradic
#945CD8 #D85C62 #A0D85C #5CD8D2
square
#945CD8 #D85C62 #A0D85C #5CD8D2
split-complementary
#945CD8 #D8D25C #62D85C
monochromatic
#572496 #7430C7 #945CD8 #B48DE4 #D5BFF0
Accessibility & contrast
On white
4.39
#945CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#945CD8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #945CD8
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945CD8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##945CD8 | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2378DC
Deuteranopia (green-blind)
#3B78D5
Tritanopia (blue-blind)
#877591
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #945cd8; /* rgb */ color: rgb(148, 92, 216); /* oklch */ color: oklch(59.4% 0.185 301.9);
Tailwind
colors: {
custom: {
50: '#b78ce5',
500: '#945cd8',
950: '#000000',
},
}SCSS
$custom: #945cd8; $custom-light: #b78ce5; $custom-dark: #000000;
JSON
{
"hex": "#945cd8",
"rgb": {
"r": 148,
"g": 92,
"b": 216
},
"hsl": {
"h": 267.097,
"s": 61.386,
"l": 60.392
},
"oklch": {
"l": 0.59406,
"c": 0.18461,
"h": 301.9
},
"luminance": 0.18908
}Semantic roles & 50–950 ramp
primary
#945CD8
secondary
#CAE0B0
accent
#C91C7B
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84