#B434B7#B434B7

#B434B7 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.7% C 0.218 H 327.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B434B7
RGBrgb(180, 52, 183)
HSLhsl(299, 56%, 46%)
HSVhsv(299, 72%, 72%)
CMYKcmyk(1.6%, 71.6%, 0%, 28.2%)
CIE-LABlab(46.42, 65.99, -42.77)
CIE-LCHlch(46.42, 78.64, 327.05°)
OKLaboklab(56.67% 0.1827 -0.1186)
OKLCHoklch(56.67% 0.218 327)
XYZxyz(28.5972, 15.5802, 46.2916)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B434B7 #37B734
analogous
#7234B7 #B434B7 #B73478
triadic
#B434B7 #B7B434 #34B7B4
tetradic
#B434B7 #B77234 #37B734 #3478B7
square
#B434B7 #B77234 #37B734 #3478B7
split-complementary
#B434B7 #78B734 #34B772
monochromatic
#561958 #852687 #B434B7 #CD59D0 #DB88DD

Accessibility & contrast

On white

5.10
#B434B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B434B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B434B7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B434B7#FFFFFF#000000##FFFFFF
##B434B71.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1764BB
Deuteranopia (green-blind)
#5474B4
Tritanopia (blue-blind)
#B94972
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b434b7;
/* rgb */ color: rgb(180, 52, 183);
/* oklch */ color: oklch(56.7% 0.218 327.0);
Tailwind
colors: {
  custom: {
    50: '#ce78cd',
    500: '#b434b7',
    950: '#000000',
  },
}
SCSS
$custom: #b434b7;
$custom-light: #ce78cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b434b7",
  "rgb": {
    "r": 180,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 298.626,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5667,
    "c": 0.21784,
    "h": 327
  },
  "luminance": 0.15578
}

Semantic roles & 50–950 ramp

primary
#B434B7
secondary
#81C780
accent
#DF494C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B434B7

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

Preview Lab → · Contrast checker → · Palette generator →

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