#B34CCA#B34CCA

#B34CCA is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.1% C 0.204 H 319.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B34CCA
RGBrgb(179, 76, 202)
HSLhsl(289, 54%, 55%)
HSVhsv(289, 62%, 79%)
CMYKcmyk(11.4%, 62.4%, 0%, 20.8%)
CIE-LABlab(50.71, 59.70, -46.98)
CIE-LCHlch(50.71, 75.97, 321.80°)
OKLaboklab(60.07% 0.1557 -0.1311)
OKLCHoklch(60.07% 0.204 319.9)
XYZxyz(31.8342, 19.0183, 57.8597)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CCA #63CA4C
analogous
#744CCA #B34CCA #CA4CA2
triadic
#B34CCA #CAB34C #4CCAB3
tetradic
#B34CCA #CA744C #63CA4C #4CA2CA
square
#B34CCA #CA744C #63CA4C #4CA2CA
split-complementary
#B34CCA #A2CA4C #4CCA74
monochromatic
#692478 #9232A7 #B34CCA #C77BD8 #DBAAE6

Accessibility & contrast

On white

4.37
#B34CCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B34CCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34CCA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CCA#FFFFFF#000000##000000
##B34CCA1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B72CE
Deuteranopia (green-blind)
#567CC7
Tritanopia (blue-blind)
#B46184
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b34cca;
/* rgb */ color: rgb(179, 76, 202);
/* oklch */ color: oklch(60.1% 0.204 319.9);
Tailwind
colors: {
  custom: {
    50: '#cd84db',
    500: '#b34cca',
    950: '#000000',
  },
}
SCSS
$custom: #b34cca;
$custom-light: #cd84db;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cca",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 202
  },
  "hsl": {
    "h": 289.048,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.6007,
    "c": 0.20353,
    "h": 319.9
  },
  "luminance": 0.19017
}

Semantic roles & 50–950 ramp

primary
#B34CCA
secondary
#A8D49E
accent
#DE4A65
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B34CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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