#B334AC#B334AC

#B334AC is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.209 H 330.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B334AC
RGBrgb(179, 52, 172)
HSLhsl(303, 55%, 45%)
HSVhsv(303, 71%, 70%)
CMYKcmyk(0%, 70.9%, 3.9%, 29.8%)
CIE-LABlab(45.66, 63.97, -37.50)
CIE-LCHlch(45.66, 74.15, 329.62°)
OKLaboklab(55.9% 0.1815 -0.1034)
OKLCHoklch(55.9% 0.209 330.3)
XYZxyz(27.2647, 15.0203, 40.4849)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B334AC #34B33B
analogous
#7A34B3 #B334AC #B3346C
triadic
#B334AC #ACB334 #34ACB3
tetradic
#B334AC #B37A34 #34B33B #346CB3
square
#B334AC #B37A34 #34B33B #346CB3
split-complementary
#B334AC #6CB334 #34B37A
monochromatic
#541851 #84267E #B334AC #CE56C7 #DC86D7

Accessibility & contrast

On white

5.25
#B334AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B334AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B334AC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B334AC#FFFFFF#000000##FFFFFF
##B334AC1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2761AF
Deuteranopia (green-blind)
#5A72A9
Tritanopia (blue-blind)
#BA446C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b334ac;
/* rgb */ color: rgb(179, 52, 172);
/* oklch */ color: oklch(55.9% 0.209 330.3);
Tailwind
colors: {
  custom: {
    50: '#cd77c5',
    500: '#b334ac',
    950: '#000000',
  },
}
SCSS
$custom: #b334ac;
$custom-light: #cd77c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b334ac",
  "rgb": {
    "r": 179,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 303.307,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55904,
    "c": 0.20884,
    "h": 330.3
  },
  "luminance": 0.15018
}

Semantic roles & 50–950 ramp

primary
#B334AC
secondary
#7DC581
accent
#DE5249
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B334AC

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

Preview Lab → · Contrast checker → · Palette generator →

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