#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
RGBrgb(180, 52, 171)
HSLhsl(304, 55%, 45%)
HSVhsv(304, 71%, 71%)
CMYKcmyk(0%, 71.1%, 5%, 29.4%)
CIE-LABlab(45.77, 64.04, -36.72)
CIE-LCHlch(45.77, 73.82, 330.17°)
OKLaboklab(56% 0.1825 -0.1011)
OKLCHoklch(56% 0.209 331)
XYZxyz(27.4010, 15.1017, 39.9919)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

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
##B434AB1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.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

Preview Lab

Preview with #B434AB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B434AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva