#B34EAA#B34EAA

#B34EAA is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.6% C 0.172 H 331.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B34EAA
RGBrgb(179, 78, 170)
HSLhsl(305, 40%, 50%)
HSVhsv(305, 56%, 70%)
CMYKcmyk(0%, 56.4%, 5%, 29.8%)
CIE-LABlab(49.42, 52.96, -30.42)
CIE-LCHlch(49.42, 61.07, 330.12°)
OKLaboklab(58.6% 0.1506 -0.0832)
OKLCHoklch(58.6% 0.172 331.1)
XYZxyz(28.5703, 17.9367, 39.9797)
Luminance0.1794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34EAA #4EB357
analogous
#8A4EB3 #B34EAA #B34E77
triadic
#B34EAA #AAB34E #4EAAB3
tetradic
#B34EAA #B38A4E #4EB357 #4E77B3
square
#B34EAA #B38A4E #4EB357 #4E77B3
split-complementary
#B34EAA #77B34E #4EB38A
monochromatic
#5E2859 #893B82 #B34EAA #C579BF #D8A4D3

Accessibility & contrast

On white

4.58
#B34EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#B34EAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34EAA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34EAA#FFFFFF#000000##000000
##B34EAA1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#496CAD
Deuteranopia (green-blind)
#687BA7
Tritanopia (blue-blind)
#BA5775
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b34eaa;
/* rgb */ color: rgb(179, 78, 170);
/* oklch */ color: oklch(58.6% 0.172 331.1);
Tailwind
colors: {
  custom: {
    50: '#cc85c3',
    500: '#b34eaa',
    950: '#000000',
  },
}
SCSS
$custom: #b34eaa;
$custom-light: #cc85c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b34eaa",
  "rgb": {
    "r": 179,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 305.347,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58603,
    "c": 0.17205,
    "h": 331.1
  },
  "luminance": 0.17935
}

Semantic roles & 50–950 ramp

primary
#B34EAA
secondary
#98C59C
accent
#D06358
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B34EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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