#B343AB#B343AB
#B343AB is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.3% C 0.189 H 330.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B343AB |
|---|---|
| RGB | rgb(179, 67, 171) |
| HSL | hsl(304, 46%, 48%) |
| HSV | hsv(304, 63%, 70%) |
| CMYK | cmyk(0%, 62.6%, 4.5%, 29.8%) |
| CIE-LAB | lab(47.68, 58.02, -33.74) |
| CIE-LCH | lch(47.68, 67.12, 329.82°) |
| OKLab | oklab(57.34% 0.1648 -0.0927) |
| OKLCH | oklch(57.34% 0.189 330.6) |
| XYZ | xyz(27.9481, 16.5403, 40.2408) |
| Luminance | 0.1654 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.25
Purpley Pink
#C83CB9
ΔE00 3.98
Medium Purple
#9E43A2
ΔE00 4.22
Pinky Purple
#C94CBE
ΔE00 5.76
Purply
#983FB2
ΔE00 6.60
Barney
#AC1DB8
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B343AB #43B34B
analogous
#8343B3 #B343AB #B34373
triadic
#B343AB #ABB343 #43ABB3
tetradic
#B343AB #B38343 #43B34B #4373B3
square
#B343AB #B38343 #43B34B #4373B3
split-complementary
#B343AB #73B343 #43B383
monochromatic
#5A2256 #863280 #B343AB #C86BC1 #D898D4
Accessibility & contrast
On white
4.88
#B343AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#B343AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B343AB
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B343AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B343AB | 1.00 | 4.88 | 4.31 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B67AE
Deuteranopia (green-blind)
#6277A8
Tritanopia (blue-blind)
#BA4E71
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #b343ab; /* rgb */ color: rgb(179, 67, 171); /* oklch */ color: oklch(57.3% 0.189 330.6);
Tailwind
colors: {
custom: {
50: '#cd7fc4',
500: '#b343ab',
950: '#000000',
},
}SCSS
$custom: #b343ab; $custom-light: #cd7fc4; $custom-dark: #000000;
JSON
{
"hex": "#b343ab",
"rgb": {
"r": 179,
"g": 67,
"b": 171
},
"hsl": {
"h": 304.286,
"s": 45.528,
"l": 48.235
},
"oklch": {
"l": 0.57344,
"c": 0.18903,
"h": 330.6
},
"luminance": 0.16538
}Semantic roles & 50–950 ramp
primary
#B343AB
secondary
#8DC491
accent
#D55C53
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82