#954FCA#954FCA
#954FCA is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.8% C 0.188 H 307.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #954FCA |
|---|---|
| RGB | rgb(149, 79, 202) |
| HSL | hsl(274, 54%, 55%) |
| HSV | hsv(274, 61%, 79%) |
| CMYK | cmyk(26.2%, 60.9%, 0%, 20.8%) |
| CIE-LAB | lab(47.30, 51.12, -52.66) |
| CIE-LCH | lch(47.30, 73.39, 314.15°) |
| OKLab | oklab(56.76% 0.1149 -0.1486) |
| OKLCH | oklch(56.76% 0.188 307.7) |
| XYZ | xyz(25.8489, 16.2461, 57.6398) |
| Luminance | 0.1625 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 5.01
Lightish Purple
#A552E6
ΔE00 5.04
Deep Lavender
#8D5EB7
ΔE00 5.09
Darkorchid
#9932CC
ΔE00 5.32
Purpley
#8756E4
ΔE00 5.45
Purply
#983FB2
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954FCA #84CA4F
analogous
#574FCA #954FCA #CA4FC2
triadic
#954FCA #CA954F #4FCA95
tetradic
#954FCA #CA574F #84CA4F #4FC2CA
square
#954FCA #CA574F #84CA4F #4FC2CA
split-complementary
#954FCA #C2CA4F #4FCA57
monochromatic
#55257A #7633A9 #954FCA #B17ED8 #CEADE6
Accessibility & contrast
On white
4.94
#954FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#954FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954FCA
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954FCA | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#146ECE
Deuteranopia (green-blind)
#3B71C7
Tritanopia (blue-blind)
#8D6785
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #954fca; /* rgb */ color: rgb(149, 79, 202); /* oklch */ color: oklch(56.8% 0.188 307.7);
Tailwind
colors: {
custom: {
50: '#b884db',
500: '#954fca',
950: '#000000',
},
}SCSS
$custom: #954fca; $custom-light: #b884db; $custom-dark: #000000;
JSON
{
"hex": "#954fca",
"rgb": {
"r": 149,
"g": 79,
"b": 202
},
"hsl": {
"h": 274.146,
"s": 53.712,
"l": 55.098
},
"oklch": {
"l": 0.56762,
"c": 0.18786,
"h": 307.7
},
"luminance": 0.16246
}Semantic roles & 50–950 ramp
primary
#954FCA
secondary
#B7D4A1
accent
#DD4B8A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83