#B34BD5#B34BD5

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

Color values

HEX#B34BD5
RGBrgb(179, 75, 213)
HSLhsl(285, 62%, 56%)
HSVhsv(285, 65%, 84%)
CMYKcmyk(16%, 64.8%, 0%, 16.5%)
CIE-LABlab(51.18, 62.28, -52.53)
CIE-LCHlch(51.18, 81.47, 319.85°)
OKLaboklab(60.61% 0.1568 -0.1473)
OKLCHoklch(60.61% 0.215 316.8)
XYZxyz(33.1149, 19.4212, 64.9422)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34BD5 #6DD54B
analogous
#6E4BD5 #B34BD5 #D54BB2
triadic
#B34BD5 #D5B34B #4BD5B3
tetradic
#B34BD5 #D56E4B #6DD54B #4BB2D5
square
#B34BD5 #D56E4B #6DD54B #4BB2D5
split-complementary
#B34BD5 #B2D54B #4BD56E
monochromatic
#6D1F86 #952BB8 #B34BD5 #C87DE1 #DDAEEC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B34BD5#FFFFFF#000000##000000
##B34BD51.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)
#1373D9
Deuteranopia (green-blind)
#4D7DD2
Tritanopia (blue-blind)
#B1648A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b34bd5;
/* rgb */ color: rgb(179, 75, 213);
/* oklch */ color: oklch(60.6% 0.215 316.8);
Tailwind
colors: {
  custom: {
    50: '#cd84e2',
    500: '#b34bd5',
    950: '#000000',
  },
}
SCSS
$custom: #b34bd5;
$custom-light: #cd84e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b34bd5",
  "rgb": {
    "r": 179,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 285.217,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6061,
    "c": 0.21511,
    "h": 316.8
  },
  "luminance": 0.1942
}

Semantic roles & 50–950 ramp

primary
#B34BD5
secondary
#B0DAA2
accent
#E5436B
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B34BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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