#B34BD2#B34BD2

#B34BD2 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.4% C 0.212 H 317.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B34BD2
RGBrgb(179, 75, 210)
HSLhsl(286, 60%, 56%)
HSVhsv(286, 64%, 82%)
CMYKcmyk(14.8%, 64.3%, 0%, 17.6%)
CIE-LABlab(51.00, 61.69, -51.10)
CIE-LCHlch(51.00, 80.10, 320.36°)
OKLaboklab(60.43% 0.1568 -0.1431)
OKLCHoklch(60.43% 0.212 317.6)
XYZxyz(32.7377, 19.2703, 62.9553)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34BD2 #6AD24B
analogous
#6F4BD2 #B34BD2 #D24BAD
triadic
#B34BD2 #D2B34B #4BD2B3
tetradic
#B34BD2 #D26F4B #6AD24B #4BADD2
square
#B34BD2 #D26F4B #6AD24B #4BADD2
split-complementary
#B34BD2 #ADD24B #4BD26F
monochromatic
#6C2182 #942DB3 #B34BD2 #C87CDE #DCADEA

Accessibility & contrast

On white

4.33
#B34BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B34BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34BD2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34BD2#FFFFFF#000000##000000
##B34BD21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b34bd2;
/* rgb */ color: rgb(179, 75, 210);
/* oklch */ color: oklch(60.4% 0.212 317.6);
Tailwind
colors: {
  custom: {
    50: '#cd84e0',
    500: '#b34bd2',
    950: '#000000',
  },
}
SCSS
$custom: #b34bd2;
$custom-light: #cd84e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b34bd2",
  "rgb": {
    "r": 179,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 286.222,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60428,
    "c": 0.21232,
    "h": 317.6
  },
  "luminance": 0.19269
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B34BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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