#B34BC8#B34BC8

#B34BC8 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 59.8% C 0.203 H 320.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B34BC8
RGBrgb(179, 75, 200)
HSLhsl(290, 53%, 54%)
HSVhsv(290, 63%, 78%)
CMYKcmyk(10.5%, 62.5%, 0%, 21.6%)
CIE-LABlab(50.44, 59.76, -46.26)
CIE-LCHlch(50.44, 75.57, 322.25°)
OKLaboklab(59.84% 0.1568 -0.129)
OKLCHoklch(59.84% 0.203 320.6)
XYZxyz(31.5306, 18.7875, 56.5979)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34BC8 #60C84B
analogous
#754BC8 #B34BC8 #C84B9F
triadic
#B34BC8 #C8B34B #4BC8B3
tetradic
#B34BC8 #C8754B #60C84B #4B9FC8
square
#B34BC8 #C8754B #60C84B #4B9FC8
split-complementary
#B34BC8 #9FC84B #4BC875
monochromatic
#672475 #9132A4 #B34BC8 #C77AD6 #DBA9E5

Accessibility & contrast

On white

4.41
#B34BC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B34BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34BC8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34BC8#FFFFFF#000000##000000
##B34BC81.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B71CC
Deuteranopia (green-blind)
#577CC5
Tritanopia (blue-blind)
#B45F83
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b34bc8;
/* rgb */ color: rgb(179, 75, 200);
/* oklch */ color: oklch(59.8% 0.203 320.6);
Tailwind
colors: {
  custom: {
    50: '#cd84d9',
    500: '#b34bc8',
    950: '#000000',
  },
}
SCSS
$custom: #b34bc8;
$custom-light: #cd84d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b34bc8",
  "rgb": {
    "r": 179,
    "g": 75,
    "b": 200
  },
  "hsl": {
    "h": 289.92,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59838,
    "c": 0.20306,
    "h": 320.6
  },
  "luminance": 0.18786
}

Semantic roles & 50–950 ramp

primary
#B34BC8
secondary
#A6D29D
accent
#DD4B64
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B15
muted
#827C83

Preview Lab

Preview with #B34BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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