#B34BD1#B34BD1

#B34BD1 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.4% C 0.211 H 317.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B34BD1
RGBrgb(179, 75, 209)
HSLhsl(287, 59%, 56%)
HSVhsv(287, 64%, 82%)
CMYKcmyk(14.4%, 64.1%, 0%, 18%)
CIE-LABlab(50.94, 61.49, -50.62)
CIE-LCHlch(50.94, 79.64, 320.54°)
OKLaboklab(60.37% 0.1568 -0.1417)
OKLCHoklch(60.37% 0.211 317.9)
XYZxyz(32.6135, 19.2207, 62.3013)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34BD1 #69D14B
analogous
#704BD1 #B34BD1 #D14BAC
triadic
#B34BD1 #D1B34B #4BD1B3
tetradic
#B34BD1 #D1704B #69D14B #4BACD1
square
#B34BD1 #D1704B #69D14B #4BACD1
split-complementary
#B34BD1 #ACD14B #4BD170
monochromatic
#6B2181 #942DB1 #B34BD1 #C87CDD #DCACEA

Accessibility & contrast

On white

4.34
#B34BD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B34BD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34BD1
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34BD1#FFFFFF#000000##000000
##B34BD11.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D73D5
Deuteranopia (green-blind)
#507DCE
Tritanopia (blue-blind)
#B26388
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b34bd1;
/* rgb */ color: rgb(179, 75, 209);
/* oklch */ color: oklch(60.4% 0.211 317.9);
Tailwind
colors: {
  custom: {
    50: '#cd84e0',
    500: '#b34bd1',
    950: '#000000',
  },
}
SCSS
$custom: #b34bd1;
$custom-light: #cd84e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b34bd1",
  "rgb": {
    "r": 179,
    "g": 75,
    "b": 209
  },
  "hsl": {
    "h": 286.567,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60368,
    "c": 0.21138,
    "h": 317.9
  },
  "luminance": 0.19219
}

Semantic roles & 50–950 ramp

primary
#B34BD1
secondary
#ADD8A0
accent
#E24569
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B34BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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