#B34DC7#B34DC7

#B34DC7 is a mid, vivid purple. Relative luminance 0.190; OKLCH L 60.0% C 0.199 H 320.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B34DC7
RGBrgb(179, 77, 199)
HSLhsl(290, 52%, 54%)
HSVhsv(290, 61%, 78%)
CMYKcmyk(10.1%, 61.3%, 0%, 22%)
CIE-LABlab(50.71, 58.68, -45.26)
CIE-LCHlch(50.71, 74.10, 322.36°)
OKLaboklab(60.01% 0.1544 -0.1261)
OKLCHoklch(60.01% 0.199 320.8)
XYZxyz(31.5519, 19.0165, 56.0303)
Luminance0.1902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DC7 #61C74D
analogous
#764DC7 #B34DC7 #C74D9E
triadic
#B34DC7 #C7B34D #4DC7B3
tetradic
#B34DC7 #C7764D #61C74D #4D9EC7
square
#B34DC7 #C7764D #61C74D #4D9EC7
split-complementary
#B34DC7 #9EC74D #4DC776
monochromatic
#682575 #9133A3 #B34DC7 #C77CD6 #DBAAE4

Accessibility & contrast

On white

4.37
#B34DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B34DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34DC7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34DC7#FFFFFF#000000##000000
##B34DC71.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3071CB
Deuteranopia (green-blind)
#597CC4
Tritanopia (blue-blind)
#B46083
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b34dc7;
/* rgb */ color: rgb(179, 77, 199);
/* oklch */ color: oklch(60.0% 0.199 320.8);
Tailwind
colors: {
  custom: {
    50: '#cd85d8',
    500: '#b34dc7',
    950: '#000000',
  },
}
SCSS
$custom: #b34dc7;
$custom-light: #cd85d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b34dc7",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 290.164,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60015,
    "c": 0.19936,
    "h": 320.8
  },
  "luminance": 0.19015
}

Semantic roles & 50–950 ramp

primary
#B34DC7
secondary
#A6D29E
accent
#DC4C64
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B34DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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