#954BBB#954BBB
#954BBB is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.3% C 0.178 H 312.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #954BBB |
|---|---|
| RGB | rgb(149, 75, 187) |
| HSL | hsl(280, 45%, 51%) |
| HSV | hsv(280, 60%, 73%) |
| CMYK | cmyk(20.3%, 59.9%, 0%, 26.7%) |
| CIE-LAB | lab(45.65, 49.77, -46.60) |
| CIE-LCH | lch(45.65, 68.18, 316.88°) |
| OKLab | oklab(55.27% 0.12 -0.1308) |
| OKLCH | oklch(55.27% 0.178 312.5) |
| XYZ | xyz(23.8786, 15.0102, 48.6435) |
| Luminance | 0.1501 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.04
Darkorchid
#9932CC
ΔE00 4.99
Deep Lavender
#8D5EB7
ΔE00 5.16
Amethyst
#9B5FC0
ΔE00 5.53
Medium Purple
#9E43A2
ΔE00 5.67
Royal Purple
#7851A9
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954BBB #71BB4B
analogous
#5D4BBB #954BBB #BB4BA9
triadic
#954BBB #BB954B #4BBB95
tetradic
#954BBB #BB5D4B #71BB4B #4BA9BB
square
#954BBB #BB5D4B #71BB4B #4BA9BB
split-complementary
#954BBB #A9BB4B #4BBB5D
monochromatic
#502665 #733792 #954BBB #AF77CC #C9A4DD
Accessibility & contrast
On white
5.25
#954BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#954BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954BBB
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954BBB | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2468BF
Deuteranopia (green-blind)
#446EB8
Tritanopia (blue-blind)
#915F7C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #954bbb; /* rgb */ color: rgb(149, 75, 187); /* oklch */ color: oklch(55.3% 0.178 312.5);
Tailwind
colors: {
custom: {
50: '#b781d0',
500: '#954bbb',
950: '#000000',
},
}SCSS
$custom: #954bbb; $custom-light: #b781d0; $custom-dark: #000000;
JSON
{
"hex": "#954bbb",
"rgb": {
"r": 149,
"g": 75,
"b": 187
},
"hsl": {
"h": 279.643,
"s": 45.161,
"l": 51.373
},
"oklch": {
"l": 0.55273,
"c": 0.17752,
"h": 312.5
},
"luminance": 0.1501
}Semantic roles & 50–950 ramp
primary
#954BBB
secondary
#A9CA98
accent
#D5537F
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82