#954FCE#954FCE
#954FCE is a mid, vivid violet. Relative luminance 0.164; OKLCH L 57.0% C 0.192 H 306.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #954FCE |
|---|---|
| RGB | rgb(149, 79, 206) |
| HSL | hsl(273, 56%, 56%) |
| HSV | hsv(273, 62%, 81%) |
| CMYK | cmyk(27.7%, 61.7%, 0%, 19.2%) |
| CIE-LAB | lab(47.54, 52.04, -54.56) |
| CIE-LCH | lch(47.54, 75.40, 313.65°) |
| OKLab | oklab(57.02% 0.1148 -0.1542) |
| OKLCH | oklch(57.02% 0.192 306.7) |
| XYZ | xyz(26.3286, 16.4380, 60.1664) |
| Luminance | 0.1644 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.58
Purpley
#8756E4
ΔE00 4.90
Amethyst
#9B5FC0
ΔE00 5.28
Darkorchid
#9932CC
ΔE00 5.39
Deep Lavender
#8D5EB7
ΔE00 5.46
Purply
#983FB2
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954FCE #88CE4F
analogous
#554FCE #954FCE #CE4FC7
triadic
#954FCE #CE954F #4FCE95
tetradic
#954FCE #CE554F #88CE4F #4FC7CE
square
#954FCE #CE554F #88CE4F #4FC7CE
split-complementary
#954FCE #C7CE4F #4FCE55
monochromatic
#56237F #7631AF #954FCE #B27FDB #CFAFE9
Accessibility & contrast
On white
4.90
#954FCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#954FCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954FCE
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954FCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954FCE | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#056ED2
Deuteranopia (green-blind)
#3671CB
Tritanopia (blue-blind)
#8C6987
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #954fce; /* rgb */ color: rgb(149, 79, 206); /* oklch */ color: oklch(57.0% 0.192 306.7);
Tailwind
colors: {
custom: {
50: '#b884de',
500: '#954fce',
950: '#000000',
},
}SCSS
$custom: #954fce; $custom-light: #b884de; $custom-dark: #000000;
JSON
{
"hex": "#954fce",
"rgb": {
"r": 149,
"g": 79,
"b": 206
},
"hsl": {
"h": 273.071,
"s": 56.444,
"l": 55.882
},
"oklch": {
"l": 0.57021,
"c": 0.19224,
"h": 306.7
},
"luminance": 0.16438
}Semantic roles & 50–950 ramp
primary
#954FCE
secondary
#BAD7A2
accent
#E0488C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83