#945CDC#945CDC
#945CDC is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.7% C 0.189 H 301.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #945CDC |
|---|---|
| RGB | rgb(148, 92, 220) |
| HSL | hsl(266, 65%, 61%) |
| HSV | hsv(266, 58%, 86%) |
| CMYK | cmyk(32.7%, 58.2%, 0%, 13.7%) |
| CIE-LAB | lab(50.82, 48.40, -57.29) |
| CIE-LCH | lch(50.82, 74.99, 310.19°) |
| OKLab | oklab(59.66% 0.0975 -0.1623) |
| OKLCH | oklch(59.66% 0.189 301) |
| XYZ | xyz(28.9551, 19.1174, 69.8608) |
| Luminance | 0.1912 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.32
Lightish Purple
#A552E6
ΔE00 3.51
Lighter Purple
#A55AF4
ΔE00 4.21
Amethyst
#9B5FC0
ΔE00 5.45
Mediumpurple
#9370DB
ΔE00 5.57
Deep Lavender
#8D5EB7
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945CDC #A4DC5C
analogous
#5C64DC #945CDC #D45CDC
triadic
#945CDC #DC945C #5CDC94
tetradic
#945CDC #DC5C64 #A4DC5C #5CDCD4
square
#945CDC #DC5C64 #A4DC5C #5CDCD4
split-complementary
#945CDC #DCD45C #64DC5C
monochromatic
#57229C #732CCE #945CDC #B58EE7 #D6C1F2
Accessibility & contrast
On white
4.35
#945CDC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#945CDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #945CDC
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##945CDC | 1.00 | 4.35 | 4.82 | 4.82 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B78E0
Deuteranopia (green-blind)
#3778D9
Tritanopia (blue-blind)
#857693
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #945cdc; /* rgb */ color: rgb(148, 92, 220); /* oklch */ color: oklch(59.7% 0.189 301.0);
Tailwind
colors: {
custom: {
50: '#b78ce7',
500: '#945cdc',
950: '#000000',
},
}SCSS
$custom: #945cdc; $custom-light: #b78ce7; $custom-dark: #000000;
JSON
{
"hex": "#945cdc",
"rgb": {
"r": 148,
"g": 92,
"b": 220
},
"hsl": {
"h": 266.25,
"s": 64.646,
"l": 61.176
},
"oklch": {
"l": 0.59664,
"c": 0.18931,
"h": 301
},
"luminance": 0.19117
}Semantic roles & 50–950 ramp
primary
#945CDC
secondary
#CDE2B2
accent
#CC197E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84