#B34CD5#B34CD5

#B34CD5 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.7% C 0.214 H 316.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B34CD5
RGBrgb(179, 76, 213)
HSLhsl(285, 62%, 57%)
HSVhsv(285, 64%, 84%)
CMYKcmyk(16%, 64.3%, 0%, 16.5%)
CIE-LABlab(51.33, 61.84, -52.28)
CIE-LCHlch(51.33, 80.98, 319.79°)
OKLaboklab(60.72% 0.1556 -0.1466)
OKLCHoklch(60.72% 0.214 316.7)
XYZxyz(33.1833, 19.5580, 64.9650)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CD5 #6ED54C
analogous
#6E4CD5 #B34CD5 #D54CB3
triadic
#B34CD5 #D5B34C #4CD5B3
tetradic
#B34CD5 #D56E4C #6ED54C #4CB3D5
square
#B34CD5 #D56E4C #6ED54C #4CB3D5
split-complementary
#B34CD5 #B3D54C #4CD56E
monochromatic
#6D2087 #952BB9 #B34CD5 #C87EE1 #DDAFEC

Accessibility & contrast

On white

4.28
#B34CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#B34CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34CD5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CD5#FFFFFF#000000##000000
##B34CD51.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1774D9
Deuteranopia (green-blind)
#4E7DD2
Tritanopia (blue-blind)
#B1658A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b34cd5;
/* rgb */ color: rgb(179, 76, 213);
/* oklch */ color: oklch(60.7% 0.214 316.7);
Tailwind
colors: {
  custom: {
    50: '#cd85e2',
    500: '#b34cd5',
    950: '#000000',
  },
}
SCSS
$custom: #b34cd5;
$custom-light: #cd85e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cd5",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 285.109,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60723,
    "c": 0.21379,
    "h": 316.7
  },
  "luminance": 0.19557
}

Semantic roles & 50–950 ramp

primary
#B34CD5
secondary
#B0DAA2
accent
#E5436B
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B34CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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