#5947B2#5947B2
#5947B2 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.7% C 0.163 H 286.2°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5947B2 |
|---|---|
| RGB | rgb(89, 71, 178) |
| HSL | hsl(250, 43%, 49%) |
| HSV | hsv(250, 60%, 70%) |
| CMYK | cmyk(50%, 60.1%, 0%, 30.2%) |
| CIE-LAB | lab(37.56, 35.72, -54.67) |
| CIE-LCH | lch(37.56, 65.31, 303.16°) |
| OKLab | oklab(47.66% 0.0453 -0.1564) |
| OKLCH | oklch(47.66% 0.163 286.2) |
| XYZ | xyz(14.4066, 9.8440, 43.2518) |
| Luminance | 0.0984 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.13
Bluey Purple
#6241C7
ΔE00 3.76
Blue With A Hint Of Purple
#533CC6
ΔE00 4.11
Blurple
#5539CC
ΔE00 5.03
Blueberry
#464196
ΔE00 5.37
Iris
#6258C4
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5947B2 #A0B247
analogous
#476BB2 #5947B2 #8F47B2
triadic
#5947B2 #B25947 #47B259
tetradic
#5947B2 #B2476B #A0B247 #47B28F
square
#5947B2 #B2476B #A0B247 #47B28F
split-complementary
#5947B2 #B28F47 #6BB247
monochromatic
#2D245B #433686 #5947B2 #7F70C6 #A69CD7
Accessibility & contrast
On white
7.07
#5947B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#5947B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5947B2
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5947B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5947B2 | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#396075
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #5947b2; /* rgb */ color: rgb(89, 71, 178); /* oklch */ color: oklch(47.7% 0.163 286.2);
Tailwind
colors: {
custom: {
50: '#8f7bca',
500: '#5947b2',
950: '#000000',
},
}SCSS
$custom: #5947b2; $custom-light: #8f7bca; $custom-dark: #000000;
JSON
{
"hex": "#5947b2",
"rgb": {
"r": 89,
"g": 71,
"b": 178
},
"hsl": {
"h": 250.093,
"s": 42.972,
"l": 48.824
},
"oklch": {
"l": 0.47664,
"c": 0.16288,
"h": 286.2
},
"luminance": 0.09845
}Semantic roles & 50–950 ramp
primary
#5947B2
secondary
#BBC491
accent
#D355BE
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0913
muted
#7E7B82