#B34DCC#B34DCC

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

Color values

HEX#B34DCC
RGBrgb(179, 77, 204)
HSLhsl(288, 55%, 55%)
HSVhsv(288, 62%, 80%)
CMYKcmyk(12.3%, 62.3%, 0%, 20%)
CIE-LABlab(50.98, 59.64, -47.69)
CIE-LCHlch(50.98, 76.36, 321.35°)
OKLaboklab(60.3% 0.1545 -0.1332)
OKLCHoklch(60.3% 0.204 319.2)
XYZxyz(32.1420, 19.2525, 59.1381)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DCC #66CC4D
analogous
#734DCC #B34DCC #CC4DA6
triadic
#B34DCC #CCB34D #4DCCB3
tetradic
#B34DCC #CC734D #66CC4D #4DA6CC
square
#B34DCC #CC734D #66CC4D #4DA6CC
split-complementary
#B34DCC #A6CC4D #4DCC73
monochromatic
#6A237B #9331AB #B34DCC #C77DDA #DCACE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B34DCC#FFFFFF#000000##000000
##B34DCC1.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)
#2A73D0
Deuteranopia (green-blind)
#557DC9
Tritanopia (blue-blind)
#B36286
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b34dcc;
/* rgb */ color: rgb(179, 77, 204);
/* oklch */ color: oklch(60.3% 0.204 319.2);
Tailwind
colors: {
  custom: {
    50: '#cd85dc',
    500: '#b34dcc',
    950: '#000000',
  },
}
SCSS
$custom: #b34dcc;
$custom-light: #cd85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b34dcc",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 288.189,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60304,
    "c": 0.204,
    "h": 319.2
  },
  "luminance": 0.19251
}

Semantic roles & 50–950 ramp

primary
#B34DCC
secondary
#AAD5A0
accent
#DF4967
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B34DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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