#B434B2#B434B2

#B434B2 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.4% C 0.214 H 328.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B434B2
RGBrgb(180, 52, 178)
HSLhsl(301, 55%, 45%)
HSVhsv(301, 71%, 71%)
CMYKcmyk(0%, 71.1%, 1.1%, 29.4%)
CIE-LABlab(46.14, 65.17, -40.27)
CIE-LCHlch(46.14, 76.61, 328.29°)
OKLaboklab(56.39% 0.1827 -0.1114)
OKLCHoklch(56.39% 0.214 328.6)
XYZxyz(28.0860, 15.3757, 43.5994)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B434B2 #34B436
analogous
#7634B4 #B434B2 #B43472
triadic
#B434B2 #B2B434 #34B2B4
tetradic
#B434B2 #B47634 #34B436 #3472B4
square
#B434B2 #B47634 #34B436 #3472B4
split-complementary
#B434B2 #72B434 #34B476
monochromatic
#551954 #852683 #B434B2 #CE57CD #DC86DB

Accessibility & contrast

On white

5.15
#B434B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B434B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B434B2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B434B2#FFFFFF#000000##FFFFFF
##B434B21.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2062B6
Deuteranopia (green-blind)
#5773AF
Tritanopia (blue-blind)
#BA4670
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b434b2;
/* rgb */ color: rgb(180, 52, 178);
/* oklch */ color: oklch(56.4% 0.214 328.6);
Tailwind
colors: {
  custom: {
    50: '#ce78c9',
    500: '#b434b2',
    950: '#000000',
  },
}
SCSS
$custom: #b434b2;
$custom-light: #ce78c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b434b2",
  "rgb": {
    "r": 180,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 300.938,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56385,
    "c": 0.21396,
    "h": 328.6
  },
  "luminance": 0.15374
}

Semantic roles & 50–950 ramp

primary
#B434B2
secondary
#7EC67F
accent
#DF4C49
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B434B2

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

Preview Lab → · Contrast checker → · Palette generator →

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