#945AE9#945AE9
#945AE9 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.2% C 0.207 H 298.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #945AE9 |
|---|---|
| RGB | rgb(148, 90, 233) |
| HSL | hsl(264, 76%, 63%) |
| HSV | hsv(264, 61%, 91%) |
| CMYK | cmyk(36.5%, 61.4%, 0%, 8.6%) |
| CIE-LAB | lab(51.26, 52.69, -63.93) |
| CIE-LCH | lch(51.26, 82.84, 309.49°) |
| OKLab | oklab(60.24% 0.0994 -0.1818) |
| OKLCH | oklch(60.24% 0.207 298.7) |
| XYZ | xyz(30.5732, 19.4911, 79.2264) |
| Luminance | 0.1949 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.78
Lighter Purple
#A55AF4
ΔE00 3.26
Lightish Purple
#A552E6
ΔE00 3.42
Mediumslateblue
#7B68EE
ΔE00 5.97
Mediumpurple
#9370DB
ΔE00 6.17
Amethyst
#9B5FC0
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945AE9 #AFE95A
analogous
#5A67E9 #945AE9 #DC5AE9
triadic
#945AE9 #E9945A #5AE994
tetradic
#945AE9 #E95A67 #AFE95A #5AE9DC
square
#945AE9 #E95A67 #AFE95A #5AE9DC
split-complementary
#945AE9 #E9DC5A #67E95A
monochromatic
#5618B1 #7124E2 #945AE9 #B790F0 #DAC6F7
Accessibility & contrast
On white
4.29
#945AE9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#945AE9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #945AE9
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945AE9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##945AE9 | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#1B79E6
Tritanopia (blue-blind)
#817999
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #945ae9; /* rgb */ color: rgb(148, 90, 233); /* oklch */ color: oklch(60.2% 0.207 298.7);
Tailwind
colors: {
custom: {
50: '#b98bf1',
500: '#945ae9',
950: '#000000',
},
}SCSS
$custom: #945ae9; $custom-light: #b98bf1; $custom-dark: #000000;
JSON
{
"hex": "#945ae9",
"rgb": {
"r": 148,
"g": 90,
"b": 233
},
"hsl": {
"h": 264.336,
"s": 76.471,
"l": 63.333
},
"oklch": {
"l": 0.60244,
"c": 0.20717,
"h": 298.7
},
"luminance": 0.19491
}Semantic roles & 50–950 ramp
primary
#945AE9
secondary
#D4E9B6
accent
#D90D86
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85