#B34CD1#B34CD1

#B34CD1 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.5% C 0.210 H 317.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B34CD1
RGBrgb(179, 76, 209)
HSLhsl(286, 59%, 56%)
HSVhsv(286, 64%, 82%)
CMYKcmyk(14.4%, 63.6%, 0%, 18%)
CIE-LABlab(51.10, 61.05, -50.36)
CIE-LCHlch(51.10, 79.15, 320.48°)
OKLaboklab(60.48% 0.1557 -0.141)
OKLCHoklch(60.48% 0.21 317.8)
XYZxyz(32.6819, 19.3574, 62.3241)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CD1 #6AD14C
analogous
#704CD1 #B34CD1 #D14CAC
triadic
#B34CD1 #D1B34C #4CD1B3
tetradic
#B34CD1 #D1704C #6AD14C #4CACD1
square
#B34CD1 #D1704C #6AD14C #4CACD1
split-complementary
#B34CD1 #ACD14C #4CD170
monochromatic
#6C2181 #942EB2 #B34CD1 #C87DDE #DCADEA

Accessibility & contrast

On white

4.31
#B34CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B34CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34CD1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CD1#FFFFFF#000000##000000
##B34CD11.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2073D5
Deuteranopia (green-blind)
#517DCE
Tritanopia (blue-blind)
#B26388
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b34cd1;
/* rgb */ color: rgb(179, 76, 209);
/* oklch */ color: oklch(60.5% 0.210 317.8);
Tailwind
colors: {
  custom: {
    50: '#cd85e0',
    500: '#b34cd1',
    950: '#000000',
  },
}
SCSS
$custom: #b34cd1;
$custom-light: #cd85e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cd1",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 286.466,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60482,
    "c": 0.21004,
    "h": 317.8
  },
  "luminance": 0.19356
}

Semantic roles & 50–950 ramp

primary
#B34CD1
secondary
#ADD8A1
accent
#E24669
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B34CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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