#945CE7#945CE7
#945CE7 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.4% C 0.202 H 298.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #945CE7 |
|---|---|
| RGB | rgb(148, 92, 231) |
| HSL | hsl(264, 74%, 63%) |
| HSV | hsv(264, 60%, 91%) |
| CMYK | cmyk(35.9%, 60.2%, 0%, 9.4%) |
| CIE-LAB | lab(51.52, 51.14, -62.38) |
| CIE-LCH | lch(51.52, 80.66, 309.34°) |
| OKLab | oklab(60.39% 0.0972 -0.1772) |
| OKLCH | oklch(60.39% 0.202 298.7) |
| XYZ | xyz(30.4601, 19.7194, 77.7872) |
| Luminance | 0.1972 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.03
Lighter Purple
#A55AF4
ΔE00 3.28
Lightish Purple
#A552E6
ΔE00 3.55
Mediumpurple
#9370DB
ΔE00 5.65
Mediumslateblue
#7B68EE
ΔE00 5.81
Amethyst
#9B5FC0
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945CE7 #AFE75C
analogous
#5C69E7 #945CE7 #DA5CE7
triadic
#945CE7 #E7945C #5CE794
tetradic
#945CE7 #E75C69 #AFE75C #5CE7DA
square
#945CE7 #E75C69 #AFE75C #5CE7DA
split-complementary
#945CE7 #E7DA5C #69E75C
monochromatic
#561AAF #7127DF #945CE7 #B791EF #DAC7F7
Accessibility & contrast
On white
4.25
#945CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#945CE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #945CE7
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945CE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##945CE7 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#2579E4
Tritanopia (blue-blind)
#817A99
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #945ce7; /* rgb */ color: rgb(148, 92, 231); /* oklch */ color: oklch(60.4% 0.202 298.7);
Tailwind
colors: {
custom: {
50: '#b88def',
500: '#945ce7',
950: '#000000',
},
}SCSS
$custom: #945ce7; $custom-light: #b88def; $custom-dark: #000000;
JSON
{
"hex": "#945ce7",
"rgb": {
"r": 148,
"g": 92,
"b": 231
},
"hsl": {
"h": 264.173,
"s": 74.332,
"l": 63.333
},
"oklch": {
"l": 0.60393,
"c": 0.20215,
"h": 298.7
},
"luminance": 0.1972
}Semantic roles & 50–950 ramp
primary
#945CE7
secondary
#D4E8B7
accent
#D60F86
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85