#945FDA#945FDA
#945FDA is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.0% C 0.183 H 300.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #945FDA |
|---|---|
| RGB | rgb(148, 95, 218) |
| HSL | hsl(266, 62%, 61%) |
| HSV | hsv(266, 56%, 85%) |
| CMYK | cmyk(32.1%, 56.4%, 0%, 14.5%) |
| CIE-LAB | lab(51.32, 46.29, -55.36) |
| CIE-LCH | lch(51.32, 72.16, 309.90°) |
| OKLab | oklab(59.99% 0.0938 -0.1566) |
| OKLCH | oklch(59.99% 0.183 300.9) |
| XYZ | xyz(28.9569, 19.5421, 68.5625) |
| Luminance | 0.1954 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.92
Lightish Purple
#A552E6
ΔE00 3.98
Lighter Purple
#A55AF4
ΔE00 4.40
Mediumpurple
#9370DB
ΔE00 4.81
Amethyst
#9B5FC0
ΔE00 5.12
Deep Lavender
#8D5EB7
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945FDA #A5DA5F
analogous
#5F68DA #945FDA #D25FDA
triadic
#945FDA #DA945F #5FDA94
tetradic
#945FDA #DA5F68 #A5DA5F #5FDAD2
square
#945FDA #DA5F68 #A5DA5F #5FDAD2
split-complementary
#945FDA #DAD25F #68DA5F
monochromatic
#57249B #732FCD #945FDA #B591E5 #D6C2F1
Accessibility & contrast
On white
4.28
#945FDA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#945FDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #945FDA
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##945FDA | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#297ADE
Deuteranopia (green-blind)
#3E7AD7
Tritanopia (blue-blind)
#867893
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #945fda; /* rgb */ color: rgb(148, 95, 218); /* oklch */ color: oklch(60.0% 0.183 300.9);
Tailwind
colors: {
custom: {
50: '#b78ee6',
500: '#945fda',
950: '#000000',
},
}SCSS
$custom: #945fda; $custom-light: #b78ee6; $custom-dark: #000000;
JSON
{
"hex": "#945fda",
"rgb": {
"r": 148,
"g": 95,
"b": 218
},
"hsl": {
"h": 265.854,
"s": 62.437,
"l": 61.373
},
"oklch": {
"l": 0.59985,
"c": 0.18258,
"h": 300.9
},
"luminance": 0.19542
}Semantic roles & 50–950 ramp
primary
#945FDA
secondary
#CEE1B3
accent
#CA1B7F
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84