#B346AA#B346AA
#B346AA is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.6% C 0.184 H 331.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #B346AA |
|---|---|
| RGB | rgb(179, 70, 170) |
| HSL | hsl(305, 44%, 49%) |
| HSV | hsv(305, 61%, 70%) |
| CMYK | cmyk(0%, 60.9%, 5%, 29.8%) |
| CIE-LAB | lab(48.09, 56.57, -32.50) |
| CIE-LCH | lch(48.09, 65.24, 330.13°) |
| OKLab | oklab(57.63% 0.161 -0.0891) |
| OKLCH | oklch(57.63% 0.184 331) |
| XYZ | xyz(28.0361, 16.8683, 39.8017) |
| Luminance | 0.1687 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.49
Purpley Pink
#C83CB9
ΔE00 3.97
Medium Purple
#9E43A2
ΔE00 4.50
Pinky Purple
#C94CBE
ΔE00 5.48
Purply
#983FB2
ΔE00 7.03
Barney
#AC1DB8
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B346AA #46B34F
analogous
#8646B3 #B346AA #B34674
triadic
#B346AA #AAB346 #46AAB3
tetradic
#B346AA #B38646 #46B34F #4674B3
square
#B346AA #B38646 #46B34F #4674B3
split-complementary
#B346AA #74B346 #46B386
monochromatic
#5B2456 #873580 #B346AA #C76FC0 #D89BD3
Accessibility & contrast
On white
4.80
#B346AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#B346AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B346AA
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B346AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B346AA | 1.00 | 4.80 | 4.37 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4068AD
Deuteranopia (green-blind)
#6478A7
Tritanopia (blue-blind)
#BA5071
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #b346aa; /* rgb */ color: rgb(179, 70, 170); /* oklch */ color: oklch(57.6% 0.184 331.0);
Tailwind
colors: {
custom: {
50: '#cd80c3',
500: '#b346aa',
950: '#000000',
},
}SCSS
$custom: #b346aa; $custom-light: #cd80c3; $custom-dark: #000000;
JSON
{
"hex": "#b346aa",
"rgb": {
"r": 179,
"g": 70,
"b": 170
},
"hsl": {
"h": 304.954,
"s": 43.775,
"l": 48.824
},
"oklch": {
"l": 0.57632,
"c": 0.18398,
"h": 331
},
"luminance": 0.16866
}Semantic roles & 50–950 ramp
primary
#B346AA
secondary
#90C495
accent
#D45F54
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81