#B34CD3#B34CD3

#B34CD3 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.6% C 0.212 H 317.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B34CD3
RGBrgb(179, 76, 211)
HSLhsl(286, 61%, 56%)
HSVhsv(286, 64%, 83%)
CMYKcmyk(15.2%, 64%, 0%, 17.3%)
CIE-LABlab(51.22, 61.45, -51.32)
CIE-LCHlch(51.22, 80.06, 320.13°)
OKLaboklab(60.6% 0.1557 -0.1438)
OKLCHoklch(60.6% 0.212 317.3)
XYZxyz(32.9310, 19.4570, 63.6363)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CD3 #6CD34C
analogous
#704CD3 #B34CD3 #D34CB0
triadic
#B34CD3 #D3B34C #4CD3B3
tetradic
#B34CD3 #D3704C #6CD34C #4CB0D3
square
#B34CD3 #D3704C #6CD34C #4CB0D3
split-complementary
#B34CD3 #B0D34C #4CD370
monochromatic
#6D2084 #952DB5 #B34CD3 #C87DDF #DDAEEB

Accessibility & contrast

On white

4.29
#B34CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#B34CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34CD3
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CD3#FFFFFF#000000##000000
##B34CD31.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B74D7
Deuteranopia (green-blind)
#507DD0
Tritanopia (blue-blind)
#B26489
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b34cd3;
/* rgb */ color: rgb(179, 76, 211);
/* oklch */ color: oklch(60.6% 0.212 317.3);
Tailwind
colors: {
  custom: {
    50: '#cd85e1',
    500: '#b34cd3',
    950: '#000000',
  },
}
SCSS
$custom: #b34cd3;
$custom-light: #cd85e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cd3",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 285.778,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60602,
    "c": 0.21192,
    "h": 317.3
  },
  "luminance": 0.19456
}

Semantic roles & 50–950 ramp

primary
#B34CD3
secondary
#AFD9A2
accent
#E4446A
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B34CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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