#945EDF#945EDF
#945EDF is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.2% C 0.190 H 300.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #945EDF |
|---|---|
| RGB | rgb(148, 94, 223) |
| HSL | hsl(265, 67%, 62%) |
| HSV | hsv(265, 58%, 87%) |
| CMYK | cmyk(33.6%, 57.8%, 0%, 12.5%) |
| CIE-LAB | lab(51.41, 48.07, -58.03) |
| CIE-LCH | lch(51.41, 75.36, 309.63°) |
| OKLab | oklab(60.16% 0.0951 -0.1645) |
| OKLCH | oklch(60.16% 0.19 300) |
| XYZ | xyz(29.5315, 19.6288, 72.0306) |
| Luminance | 0.1963 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.47
Lightish Purple
#A552E6
ΔE00 3.71
Lighter Purple
#A55AF4
ΔE00 3.88
Mediumpurple
#9370DB
ΔE00 5.03
Amethyst
#9B5FC0
ΔE00 5.84
Mediumslateblue
#7B68EE
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945EDF #A9DF5E
analogous
#5E69DF #945EDF #D45EDF
triadic
#945EDF #DF945E #5EDF94
tetradic
#945EDF #DF5E69 #A9DF5E #5EDFD4
square
#945EDF #DF5E69 #A9DF5E #5EDFD4
split-complementary
#945EDF #DFD45E #69DF5E
monochromatic
#5720A2 #722BD5 #945EDF #B691E9 #D8C4F3
Accessibility & contrast
On white
4.26
#945EDF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#945EDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #945EDF
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945EDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##945EDF | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C7AE3
Deuteranopia (green-blind)
#367ADC
Tritanopia (blue-blind)
#847996
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #945edf; /* rgb */ color: rgb(148, 94, 223); /* oklch */ color: oklch(60.2% 0.190 300.0);
Tailwind
colors: {
custom: {
50: '#b88eea',
500: '#945edf',
950: '#000000',
},
}SCSS
$custom: #945edf; $custom-light: #b88eea; $custom-dark: #000000;
JSON
{
"hex": "#945edf",
"rgb": {
"r": 148,
"g": 94,
"b": 223
},
"hsl": {
"h": 265.116,
"s": 66.839,
"l": 62.157
},
"oklch": {
"l": 0.60156,
"c": 0.18997,
"h": 300
},
"luminance": 0.19629
}Semantic roles & 50–950 ramp
primary
#945EDF
secondary
#D0E4B5
accent
#CF1782
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84