#B34CD9#B34CD9

#B34CD9 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.0% C 0.218 H 315.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B34CD9
RGBrgb(179, 76, 217)
HSLhsl(284, 65%, 57%)
HSVhsv(284, 65%, 85%)
CMYKcmyk(17.5%, 65%, 0%, 14.9%)
CIE-LABlab(51.57, 62.63, -54.18)
CIE-LCHlch(51.57, 82.82, 319.14°)
OKLaboklab(60.97% 0.1555 -0.1521)
OKLCHoklch(60.97% 0.218 315.6)
XYZxyz(33.6973, 19.7635, 67.6719)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CD9 #72D94C
analogous
#6D4CD9 #B34CD9 #D94CB8
triadic
#B34CD9 #D9B34C #4CD9B3
tetradic
#B34CD9 #D96D4C #72D94C #4CB8D9
square
#B34CD9 #D96D4C #72D94C #4CB8D9
split-complementary
#B34CD9 #B8D94C #4CD96D
monochromatic
#6F1E8D #9729BF #B34CD9 #C87EE4 #DEB1EE

Accessibility & contrast

On white

4.24
#B34CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#B34CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34CD9
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CD9#FFFFFF#000000##000000
##B34CD91.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0875DD
Deuteranopia (green-blind)
#4B7ED6
Tritanopia (blue-blind)
#B0678C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b34cd9;
/* rgb */ color: rgb(179, 76, 217);
/* oklch */ color: oklch(61.0% 0.218 315.6);
Tailwind
colors: {
  custom: {
    50: '#cd85e5',
    500: '#b34cd9',
    950: '#000000',
  },
}
SCSS
$custom: #b34cd9;
$custom-light: #cd85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cd9",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 283.83,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60968,
    "c": 0.21755,
    "h": 315.6
  },
  "luminance": 0.19762
}

Semantic roles & 50–950 ramp

primary
#B34CD9
secondary
#B3DDA4
accent
#E8406D
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B34CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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