#B434AB#B434AB
#B434AB is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.209 H 331.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #B434AB |
|---|---|
| RGB | rgb(180, 52, 171) |
| HSL | hsl(304, 55%, 45%) |
| HSV | hsv(304, 71%, 71%) |
| CMYK | cmyk(0%, 71.1%, 5%, 29.4%) |
| CIE-LAB | lab(45.77, 64.04, -36.72) |
| CIE-LCH | lch(45.77, 73.82, 330.17°) |
| OKLab | oklab(56% 0.1825 -0.1011) |
| OKLCH | oklch(56% 0.209 331) |
| XYZ | xyz(27.4010, 15.1017, 39.9919) |
| Luminance | 0.1510 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.27
Medium Purple
#9E43A2
ΔE00 4.06
Barney
#AC1DB8
ΔE00 4.68
Purpley Pink
#C83CB9
ΔE00 5.01
Purply
#983FB2
ΔE00 5.90
Warm Purple
#952E8F
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B434AB #34B43D
analogous
#7D34B4 #B434AB #B4346B
triadic
#B434AB #ABB434 #34ABB4
tetradic
#B434AB #B47D34 #34B43D #346BB4
square
#B434AB #B47D34 #34B43D #346BB4
split-complementary
#B434AB #6BB434 #34B47D
monochromatic
#551951 #85267E #B434AB #CE57C6 #DC86D6
Accessibility & contrast
On white
5.22
#B434AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#B434AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B434AB
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B434AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B434AB | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2961AE
Deuteranopia (green-blind)
#5B73A8
Tritanopia (blue-blind)
#BB436C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #b434ab; /* rgb */ color: rgb(180, 52, 171); /* oklch */ color: oklch(56.0% 0.209 331.0);
Tailwind
colors: {
custom: {
50: '#ce78c4',
500: '#b434ab',
950: '#000000',
},
}SCSS
$custom: #b434ab; $custom-light: #ce78c4; $custom-dark: #000000;
JSON
{
"hex": "#b434ab",
"rgb": {
"r": 180,
"g": 52,
"b": 171
},
"hsl": {
"h": 304.219,
"s": 55.172,
"l": 45.49
},
"oklch": {
"l": 0.55998,
"c": 0.20861,
"h": 331
},
"luminance": 0.151
}Semantic roles & 50–950 ramp
primary
#B434AB
secondary
#7EC683
accent
#DF5449
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82