#B34DC4#B34DC4

#B34DC4 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.8% C 0.197 H 321.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B34DC4
RGBrgb(179, 77, 196)
HSLhsl(291, 50%, 54%)
HSVhsv(291, 61%, 77%)
CMYKcmyk(8.7%, 60.7%, 0%, 23.1%)
CIE-LABlab(50.54, 58.11, -43.79)
CIE-LCHlch(50.54, 72.76, 323.00°)
OKLaboklab(59.85% 0.1543 -0.1218)
OKLCHoklch(59.85% 0.197 321.7)
XYZxyz(31.2070, 18.8785, 54.2140)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DC4 #5EC44D
analogous
#774DC4 #B34DC4 #C44D99
triadic
#B34DC4 #C4B34D #4DC4B3
tetradic
#B34DC4 #C4774D #5EC44D #4D99C4
square
#B34DC4 #C4774D #5EC44D #4D99C4
split-complementary
#B34DC4 #99C44D #4DC477
monochromatic
#662571 #90359F #B34DC4 #C77BD3 #DAA9E2

Accessibility & contrast

On white

4.40
#B34DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B34DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34DC4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34DC4#FFFFFF#000000##000000
##B34DC41.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3371C8
Deuteranopia (green-blind)
#5B7CC1
Tritanopia (blue-blind)
#B55F81
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b34dc4;
/* rgb */ color: rgb(179, 77, 196);
/* oklch */ color: oklch(59.8% 0.197 321.7);
Tailwind
colors: {
  custom: {
    50: '#cd85d6',
    500: '#b34dc4',
    950: '#000000',
  },
}
SCSS
$custom: #b34dc4;
$custom-light: #cd85d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b34dc4",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 196
  },
  "hsl": {
    "h": 291.429,
    "s": 50.211,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59846,
    "c": 0.19659,
    "h": 321.7
  },
  "luminance": 0.18877
}

Semantic roles & 50–950 ramp

primary
#B34DC4
secondary
#A4D09D
accent
#DA4E62
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B34DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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