#B346AB#B346AB
#B346AB is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.7% C 0.185 H 330.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B346AB |
|---|---|
| RGB | rgb(179, 70, 171) |
| HSL | hsl(304, 44%, 49%) |
| HSV | hsv(304, 61%, 70%) |
| CMYK | cmyk(0%, 60.9%, 4.5%, 29.8%) |
| CIE-LAB | lab(48.14, 56.74, -33.01) |
| CIE-LCH | lch(48.14, 65.64, 329.81°) |
| OKLab | oklab(57.68% 0.1611 -0.0906) |
| OKLCH | oklch(57.68% 0.185 330.6) |
| XYZ | xyz(28.1311, 16.9063, 40.3018) |
| Luminance | 0.1690 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.53
Purpley Pink
#C83CB9
ΔE00 3.89
Medium Purple
#9E43A2
ΔE00 4.49
Pinky Purple
#C94CBE
ΔE00 5.40
Purply
#983FB2
ΔE00 6.93
Barney
#AC1DB8
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B346AB #46B34E
analogous
#8546B3 #B346AB #B34675
triadic
#B346AB #ABB346 #46ABB3
tetradic
#B346AB #B38546 #46B34E #4675B3
square
#B346AB #B38546 #46B34E #4675B3
split-complementary
#B346AB #75B346 #46B385
monochromatic
#5B2457 #873581 #B346AB #C76FC0 #D89BD4
Accessibility & contrast
On white
4.79
#B346AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#B346AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B346AB
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B346AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B346AB | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F69AE
Deuteranopia (green-blind)
#6378A8
Tritanopia (blue-blind)
#BA5172
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #b346ab; /* rgb */ color: rgb(179, 70, 171); /* oklch */ color: oklch(57.7% 0.185 330.6);
Tailwind
colors: {
custom: {
50: '#cd80c4',
500: '#b346ab',
950: '#000000',
},
}SCSS
$custom: #b346ab; $custom-light: #cd80c4; $custom-dark: #000000;
JSON
{
"hex": "#b346ab",
"rgb": {
"r": 179,
"g": 70,
"b": 171
},
"hsl": {
"h": 304.404,
"s": 43.775,
"l": 48.824
},
"oklch": {
"l": 0.57683,
"c": 0.1848,
"h": 330.6
},
"luminance": 0.16904
}Semantic roles & 50–950 ramp
primary
#B346AB
secondary
#90C494
accent
#D45E54
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81