#B34BD8#B34BD8

#B34BD8 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.8% C 0.218 H 316.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B34BD8
RGBrgb(179, 75, 216)
HSLhsl(284, 64%, 57%)
HSVhsv(284, 65%, 85%)
CMYKcmyk(17.1%, 65.3%, 0%, 15.3%)
CIE-LABlab(51.35, 62.87, -53.96)
CIE-LCHlch(51.35, 82.85, 319.36°)
OKLaboklab(60.79% 0.1567 -0.1515)
OKLCHoklch(60.79% 0.218 316)
XYZxyz(33.4992, 19.5750, 66.9662)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34BD8 #70D84B
analogous
#6C4BD8 #B34BD8 #D84BB7
triadic
#B34BD8 #D8B34B #4BD8B3
tetradic
#B34BD8 #D86C4B #70D84B #4BB7D8
square
#B34BD8 #D86C4B #70D84B #4BB7D8
split-complementary
#B34BD8 #B7D84B #4BD86C
monochromatic
#6E1E8B #9629BD #B34BD8 #C87DE3 #DDB0EE

Accessibility & contrast

On white

4.27
#B34BD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#B34BD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34BD8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34BD8#FFFFFF#000000##000000
##B34BD81.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0774DC
Deuteranopia (green-blind)
#4B7DD5
Tritanopia (blue-blind)
#B1668B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b34bd8;
/* rgb */ color: rgb(179, 75, 216);
/* oklch */ color: oklch(60.8% 0.218 316.0);
Tailwind
colors: {
  custom: {
    50: '#cd84e5',
    500: '#b34bd8',
    950: '#000000',
  },
}
SCSS
$custom: #b34bd8;
$custom-light: #cd84e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b34bd8",
  "rgb": {
    "r": 179,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 284.255,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60794,
    "c": 0.21793,
    "h": 316
  },
  "luminance": 0.19574
}

Semantic roles & 50–950 ramp

primary
#B34BD8
secondary
#B2DCA3
accent
#E7406C
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B34BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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