#B34DD5#B34DD5

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

Color values

HEX#B34DD5
RGBrgb(179, 77, 213)
HSLhsl(285, 62%, 57%)
HSVhsv(285, 64%, 84%)
CMYKcmyk(16%, 63.8%, 0%, 16.5%)
CIE-LABlab(51.49, 61.40, -52.03)
CIE-LCHlch(51.49, 80.48, 319.72°)
OKLaboklab(60.84% 0.1545 -0.1458)
OKLCHoklch(60.84% 0.212 316.6)
XYZxyz(33.2527, 19.6968, 64.9881)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DD5 #6FD54D
analogous
#6F4DD5 #B34DD5 #D54DB3
triadic
#B34DD5 #D5B34D #4DD5B3
tetradic
#B34DD5 #D56F4D #6FD54D #4DB3D5
square
#B34DD5 #D56F4D #6FD54D #4DB3D5
split-complementary
#B34DD5 #B3D54D #4DD56F
monochromatic
#6E2088 #962CB9 #B34DD5 #C87FE1 #DDB0EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B34DD5#FFFFFF#000000##000000
##B34DD51.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)
#1A74D9
Deuteranopia (green-blind)
#4F7ED2
Tritanopia (blue-blind)
#B1668A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b34dd5;
/* rgb */ color: rgb(179, 77, 213);
/* oklch */ color: oklch(60.8% 0.212 316.6);
Tailwind
colors: {
  custom: {
    50: '#cd85e2',
    500: '#b34dd5',
    950: '#000000',
  },
}
SCSS
$custom: #b34dd5;
$custom-light: #cd85e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b34dd5",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 285,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60838,
    "c": 0.21245,
    "h": 316.6
  },
  "luminance": 0.19696
}

Semantic roles & 50–950 ramp

primary
#B34DD5
secondary
#B1DBA3
accent
#E5436B
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B34DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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