#954FC8#954FC8
#954FC8 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.6% C 0.186 H 308.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #954FC8 |
|---|---|
| RGB | rgb(149, 79, 200) |
| HSL | hsl(275, 52%, 55%) |
| HSV | hsv(275, 61%, 78%) |
| CMYK | cmyk(25.5%, 60.5%, 0%, 21.6%) |
| CIE-LAB | lab(47.17, 50.66, -51.70) |
| CIE-LCH | lch(47.17, 72.39, 314.42°) |
| OKLab | oklab(56.63% 0.1149 -0.1458) |
| OKLCH | oklch(56.63% 0.186 308.2) |
| XYZ | xyz(25.6136, 16.1520, 56.4007) |
| Luminance | 0.1615 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.89
Deep Lavender
#8D5EB7
ΔE00 4.92
Purply
#983FB2
ΔE00 5.25
Lightish Purple
#A552E6
ΔE00 5.29
Darkorchid
#9932CC
ΔE00 5.32
Purpley
#8756E4
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954FC8 #82C84F
analogous
#594FC8 #954FC8 #C84FBE
triadic
#954FC8 #C8954F #4FC895
tetradic
#954FC8 #C8594F #82C84F #4FBEC8
square
#954FC8 #C8594F #82C84F #4FBEC8
split-complementary
#954FC8 #BEC84F #4FC859
monochromatic
#552577 #7634A6 #954FC8 #B17ED7 #CDACE5
Accessibility & contrast
On white
4.96
#954FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#954FC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954FC8
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954FC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954FC8 | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#196DCC
Deuteranopia (green-blind)
#3D71C5
Tritanopia (blue-blind)
#8D6784
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #954fc8; /* rgb */ color: rgb(149, 79, 200); /* oklch */ color: oklch(56.6% 0.186 308.2);
Tailwind
colors: {
custom: {
50: '#b884d9',
500: '#954fc8',
950: '#000000',
},
}SCSS
$custom: #954fc8; $custom-light: #b884d9; $custom-dark: #000000;
JSON
{
"hex": "#954fc8",
"rgb": {
"r": 149,
"g": 79,
"b": 200
},
"hsl": {
"h": 274.711,
"s": 52.381,
"l": 54.706
},
"oklch": {
"l": 0.56633,
"c": 0.18567,
"h": 308.2
},
"luminance": 0.16152
}Semantic roles & 50–950 ramp
primary
#954FC8
secondary
#B5D3A0
accent
#DC4C89
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83