#B334AE#B334AE

#B334AE is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.210 H 329.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B334AE
RGBrgb(179, 52, 174)
HSLhsl(302, 55%, 45%)
HSVhsv(302, 71%, 70%)
CMYKcmyk(0%, 70.9%, 2.8%, 29.8%)
CIE-LABlab(45.77, 64.29, -38.52)
CIE-LCHlch(45.77, 74.95, 329.07°)
OKLaboklab(56.01% 0.1815 -0.1063)
OKLCHoklch(56.01% 0.21 329.6)
XYZxyz(27.4582, 15.0977, 41.5041)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B334AE #34B339
analogous
#7834B3 #B334AE #B3346F
triadic
#B334AE #AEB334 #34AEB3
tetradic
#B334AE #B37834 #34B339 #346FB3
square
#B334AE #B37834 #34B339 #346FB3
split-complementary
#B334AE #6FB334 #34B378
monochromatic
#541852 #842680 #B334AE #CE56C9 #DC86D8

Accessibility & contrast

On white

5.22
#B334AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B334AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B334AE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B334AE#FFFFFF#000000##FFFFFF
##B334AE1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2561B1
Deuteranopia (green-blind)
#5872AB
Tritanopia (blue-blind)
#B9456E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b334ae;
/* rgb */ color: rgb(179, 52, 174);
/* oklch */ color: oklch(56.0% 0.210 329.6);
Tailwind
colors: {
  custom: {
    50: '#cd78c6',
    500: '#b334ae',
    950: '#000000',
  },
}
SCSS
$custom: #b334ae;
$custom-light: #cd78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b334ae",
  "rgb": {
    "r": 179,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 302.362,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56014,
    "c": 0.21037,
    "h": 329.6
  },
  "luminance": 0.15096
}

Semantic roles & 50–950 ramp

primary
#B334AE
secondary
#7DC580
accent
#DE4F49
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B334AE

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

Preview Lab → · Contrast checker → · Palette generator →

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