#B34CD2#B34CD2

#B34CD2 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.5% C 0.211 H 317.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B34CD2
RGBrgb(179, 76, 210)
HSLhsl(286, 60%, 56%)
HSVhsv(286, 64%, 82%)
CMYKcmyk(14.8%, 63.8%, 0%, 17.6%)
CIE-LABlab(51.16, 61.25, -50.84)
CIE-LCHlch(51.16, 79.60, 320.30°)
OKLaboklab(60.54% 0.1557 -0.1424)
OKLCHoklch(60.54% 0.211 317.6)
XYZxyz(32.8060, 19.4071, 62.9781)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CD2 #6BD24C
analogous
#704CD2 #B34CD2 #D24CAE
triadic
#B34CD2 #D2B34C #4CD2B3
tetradic
#B34CD2 #D2704C #6BD24C #4CAED2
square
#B34CD2 #D2704C #6BD24C #4CAED2
split-complementary
#B34CD2 #AED24C #4CD270
monochromatic
#6C2183 #952DB4 #B34CD2 #C87DDE #DDAEEB

Accessibility & contrast

On white

4.30
#B34CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#B34CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34CD2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CD2#FFFFFF#000000##000000
##B34CD21.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E73D6
Deuteranopia (green-blind)
#507DCF
Tritanopia (blue-blind)
#B26488
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b34cd2;
/* rgb */ color: rgb(179, 76, 210);
/* oklch */ color: oklch(60.5% 0.211 317.6);
Tailwind
colors: {
  custom: {
    50: '#cd85e0',
    500: '#b34cd2',
    950: '#000000',
  },
}
SCSS
$custom: #b34cd2;
$custom-light: #cd85e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cd2",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 286.119,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60542,
    "c": 0.21098,
    "h": 317.6
  },
  "luminance": 0.19406
}

Semantic roles & 50–950 ramp

primary
#B34CD2
secondary
#AED9A1
accent
#E34569
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B34CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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