#B34CD8#B34CD8

#B34CD8 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 60.9% C 0.217 H 315.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B34CD8
RGBrgb(179, 76, 216)
HSLhsl(284, 64%, 57%)
HSVhsv(284, 65%, 85%)
CMYKcmyk(17.1%, 64.8%, 0%, 15.3%)
CIE-LABlab(51.51, 62.44, -53.71)
CIE-LCHlch(51.51, 82.36, 319.30°)
OKLaboklab(60.91% 0.1555 -0.1508)
OKLCHoklch(60.91% 0.217 315.9)
XYZxyz(33.5676, 19.7117, 66.9890)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CD8 #71D84C
analogous
#6D4CD8 #B34CD8 #D84CB7
triadic
#B34CD8 #D8B34C #4CD8B3
tetradic
#B34CD8 #D86D4C #71D84C #4CB7D8
square
#B34CD8 #D86D4C #71D84C #4CB7D8
split-complementary
#B34CD8 #B7D84C #4CD86D
monochromatic
#6E1E8B #9629BE #B34CD8 #C87EE3 #DEB1EE

Accessibility & contrast

On white

4.25
#B34CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#B34CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34CD8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CD8#FFFFFF#000000##000000
##B34CD81.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D75DC
Deuteranopia (green-blind)
#4B7ED5
Tritanopia (blue-blind)
#B1668C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b34cd8;
/* rgb */ color: rgb(179, 76, 216);
/* oklch */ color: oklch(60.9% 0.217 315.9);
Tailwind
colors: {
  custom: {
    50: '#cd85e5',
    500: '#b34cd8',
    950: '#000000',
  },
}
SCSS
$custom: #b34cd8;
$custom-light: #cd85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cd8",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 284.143,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60907,
    "c": 0.21661,
    "h": 315.9
  },
  "luminance": 0.1971
}

Semantic roles & 50–950 ramp

primary
#B34CD8
secondary
#B3DCA4
accent
#E7416D
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B34CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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