#954CCF#954CCF
#954CCF is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.7% C 0.198 H 306.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #954CCF |
|---|---|
| RGB | rgb(149, 76, 207) |
| HSL | hsl(273, 58%, 55%) |
| HSV | hsv(273, 63%, 81%) |
| CMYK | cmyk(28%, 63.3%, 0%, 18.8%) |
| CIE-LAB | lab(47.06, 53.76, -55.92) |
| CIE-LCH | lch(47.06, 77.57, 313.88°) |
| OKLab | oklab(56.69% 0.1183 -0.1582) |
| OKLCH | oklch(56.69% 0.198 306.8) |
| XYZ | xyz(26.2390, 16.0637, 60.7377) |
| Luminance | 0.1606 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.75
Lightish Purple
#A552E6
ΔE00 4.81
Purpley
#8756E4
ΔE00 5.02
Purply
#983FB2
ΔE00 5.77
Amethyst
#9B5FC0
ΔE00 5.91
Deep Lavender
#8D5EB7
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954CCF #86CF4C
analogous
#534CCF #954CCF #CF4CC7
triadic
#954CCF #CF954C #4CCF95
tetradic
#954CCF #CF534C #86CF4C #4CC7CF
square
#954CCF #CF534C #86CF4C #4CC7CF
split-complementary
#954CCF #C7CF4C #4CCF53
monochromatic
#56227F #762FAF #954CCF #B27CDC #CEADE9
Accessibility & contrast
On white
4.99
#954CCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#954CCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954CCF
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954CCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954CCF | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#3170CC
Tritanopia (blue-blind)
#8C6787
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #954ccf; /* rgb */ color: rgb(149, 76, 207); /* oklch */ color: oklch(56.7% 0.198 306.8);
Tailwind
colors: {
custom: {
50: '#b882de',
500: '#954ccf',
950: '#000000',
},
}SCSS
$custom: #954ccf; $custom-light: #b882de; $custom-dark: #000000;
JSON
{
"hex": "#954ccf",
"rgb": {
"r": 149,
"g": 76,
"b": 207
},
"hsl": {
"h": 273.435,
"s": 57.709,
"l": 55.49
},
"oklch": {
"l": 0.5669,
"c": 0.1975,
"h": 306.8
},
"luminance": 0.16063
}Semantic roles & 50–950 ramp
primary
#954CCF
secondary
#B8D7A0
accent
#E1478B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83