#B34CD4#B34CD4

#B34CD4 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.7% C 0.213 H 317.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B34CD4
RGBrgb(179, 76, 212)
HSLhsl(285, 61%, 56%)
HSVhsv(285, 64%, 83%)
CMYKcmyk(15.6%, 64.2%, 0%, 16.9%)
CIE-LABlab(51.28, 61.64, -51.80)
CIE-LCHlch(51.28, 80.52, 319.96°)
OKLaboklab(60.66% 0.1557 -0.1452)
OKLCHoklch(60.66% 0.213 317)
XYZxyz(33.0568, 19.5073, 64.2986)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CD4 #6DD44C
analogous
#6F4CD4 #B34CD4 #D44CB1
triadic
#B34CD4 #D4B34C #4CD4B3
tetradic
#B34CD4 #D46F4C #6DD44C #4CB1D4
square
#B34CD4 #D46F4C #6DD44C #4CB1D4
split-complementary
#B34CD4 #B1D44C #4CD46F
monochromatic
#6D2086 #952CB7 #B34CD4 #C87DE0 #DDAFEC

Accessibility & contrast

On white

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

On black

4.90
#B34CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34CD4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CD4#FFFFFF#000000##000000
##B34CD41.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1974D8
Deuteranopia (green-blind)
#4F7DD1
Tritanopia (blue-blind)
#B2658A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b34cd4;
/* rgb */ color: rgb(179, 76, 212);
/* oklch */ color: oklch(60.7% 0.213 317.0);
Tailwind
colors: {
  custom: {
    50: '#cd85e2',
    500: '#b34cd4',
    950: '#000000',
  },
}
SCSS
$custom: #b34cd4;
$custom-light: #cd85e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cd4",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 285.441,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60663,
    "c": 0.21285,
    "h": 317
  },
  "luminance": 0.19506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B34CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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