#945FF6#945FF6
#945FF6 is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.9% C 0.216 H 295.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #945FF6 |
|---|---|
| RGB | rgb(148, 95, 246) |
| HSL | hsl(261, 89%, 67%) |
| HSV | hsv(261, 61%, 96%) |
| CMYK | cmyk(39.8%, 61.4%, 0%, 3.5%) |
| CIE-LAB | lab(53.10, 53.37, -68.23) |
| CIE-LCH | lch(53.10, 86.62, 308.03°) |
| OKLab | oklab(61.85% 0.0931 -0.1944) |
| OKLCH | oklch(61.85% 0.216 295.6) |
| XYZ | xyz(32.9351, 21.1334, 89.5148) |
| Luminance | 0.2113 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.12
Purpley
#8756E4
ΔE00 4.39
Lightish Purple
#A552E6
ΔE00 4.92
Mediumslateblue
#7B68EE
ΔE00 4.98
Mediumpurple
#9370DB
ΔE00 5.81
Light Urple
#B36FF6
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945FF6 #C1F65F
analogous
#5F76F6 #945FF6 #E05FF6
triadic
#945FF6 #F6945F #5FF694
tetradic
#945FF6 #F65F76 #C1F65F #5FF6E0
square
#945FF6 #F65F76 #C1F65F #5FF6E0
split-complementary
#945FF6 #F6E05F #76F65F
monochromatic
#500CCF #6D25F3 #945FF6 #BB99F9 #E1D3FD
Accessibility & contrast
On white
4.02
#945FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#945FF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #945FF6
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945FF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##945FF6 | 1.00 | 4.02 | 5.23 | 5.23 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080FB
Deuteranopia (green-blind)
#007DF3
Tritanopia (blue-blind)
#7B81A2
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #945ff6; /* rgb */ color: rgb(148, 95, 246); /* oklch */ color: oklch(61.9% 0.216 295.6);
Tailwind
colors: {
custom: {
50: '#b98ffa',
500: '#945ff6',
950: '#000000',
},
}SCSS
$custom: #945ff6; $custom-light: #b98ffa; $custom-dark: #000000;
JSON
{
"hex": "#945ff6",
"rgb": {
"r": 148,
"g": 95,
"b": 246
},
"hsl": {
"h": 261.06,
"s": 89.349,
"l": 66.863
},
"oklch": {
"l": 0.61853,
"c": 0.21556,
"h": 295.6
},
"luminance": 0.21134
}Semantic roles & 50–950 ramp
primary
#945FF6
secondary
#E0F1C0
accent
#E60095
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120D17
muted
#817D85