#B34DBE#B34DBE

#B34DBE is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.5% C 0.191 H 323.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B34DBE
RGBrgb(179, 77, 190)
HSLhsl(294, 47%, 52%)
HSVhsv(294, 59%, 75%)
CMYKcmyk(5.8%, 59.5%, 0%, 25.5%)
CIE-LABlab(50.23, 56.99, -40.82)
CIE-LCHlch(50.23, 70.10, 324.39°)
OKLaboklab(59.51% 0.154 -0.1132)
OKLCHoklch(59.51% 0.191 323.7)
XYZxyz(30.5377, 18.6108, 50.6889)
Luminance0.1861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DBE #58BE4D
analogous
#7A4DBE #B34DBE #BE4D91
triadic
#B34DBE #BEB34D #4DBEB3
tetradic
#B34DBE #BE7A4D #58BE4D #4D91BE
square
#B34DBE #BE7A4D #58BE4D #4D91BE
split-complementary
#B34DBE #91BE4D #4DBE7A
monochromatic
#63276A #8D3797 #B34DBE #C67ACE #D9A7DF

Accessibility & contrast

On white

4.45
#B34DBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B34DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34DBE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34DBE#FFFFFF#000000##000000
##B34DBE1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3970C1
Deuteranopia (green-blind)
#5E7CBB
Tritanopia (blue-blind)
#B65D7E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b34dbe;
/* rgb */ color: rgb(179, 77, 190);
/* oklch */ color: oklch(59.5% 0.191 323.7);
Tailwind
colors: {
  custom: {
    50: '#cd85d2',
    500: '#b34dbe',
    950: '#000000',
  },
}
SCSS
$custom: #b34dbe;
$custom-light: #cd85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b34dbe",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 294.159,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59513,
    "c": 0.19111,
    "h": 323.7
  },
  "luminance": 0.18609
}

Semantic roles & 50–950 ramp

primary
#B34DBE
secondary
#A0CC9B
accent
#D6525F
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B34DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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