#954FCF#954FCF
#954FCF is a mid, vivid violet. Relative luminance 0.165; OKLCH L 57.1% C 0.193 H 306.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #954FCF |
|---|---|
| RGB | rgb(149, 79, 207) |
| HSL | hsl(273, 57%, 56%) |
| HSV | hsv(273, 62%, 81%) |
| CMYK | cmyk(28%, 61.8%, 0%, 18.8%) |
| CIE-LAB | lab(47.61, 52.27, -55.03) |
| CIE-LCH | lch(47.61, 75.90, 313.53°) |
| OKLab | oklab(57.09% 0.1148 -0.1556) |
| OKLCH | oklch(57.09% 0.193 306.4) |
| XYZ | xyz(26.4505, 16.4868, 60.8082) |
| Luminance | 0.1649 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.48
Purpley
#8756E4
ΔE00 4.76
Amethyst
#9B5FC0
ΔE00 5.36
Darkorchid
#9932CC
ΔE00 5.43
Deep Lavender
#8D5EB7
ΔE00 5.56
Purply
#983FB2
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954FCF #89CF4F
analogous
#554FCF #954FCF #CF4FC9
triadic
#954FCF #CF954F #4FCF95
tetradic
#954FCF #CF554F #89CF4F #4FC9CF
square
#954FCF #CF554F #89CF4F #4FC9CF
split-complementary
#954FCF #C9CF4F #4FCF55
monochromatic
#562381 #7630B1 #954FCF #B27FDC #CFAFE9
Accessibility & contrast
On white
4.89
#954FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#954FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954FCF
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954FCF | 1.00 | 4.89 | 4.30 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#016FD3
Deuteranopia (green-blind)
#3571CC
Tritanopia (blue-blind)
#8B6988
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #954fcf; /* rgb */ color: rgb(149, 79, 207); /* oklch */ color: oklch(57.1% 0.193 306.4);
Tailwind
colors: {
custom: {
50: '#b884de',
500: '#954fcf',
950: '#000000',
},
}SCSS
$custom: #954fcf; $custom-light: #b884de; $custom-dark: #000000;
JSON
{
"hex": "#954fcf",
"rgb": {
"r": 149,
"g": 79,
"b": 207
},
"hsl": {
"h": 272.813,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.57087,
"c": 0.19333,
"h": 306.4
},
"luminance": 0.16487
}Semantic roles & 50–950 ramp
primary
#954FCF
secondary
#BAD7A2
accent
#E0478D
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83