#B334AD#B334AD

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

Color values

HEX#B334AD
RGBrgb(179, 52, 173)
HSLhsl(303, 55%, 45%)
HSVhsv(303, 71%, 70%)
CMYKcmyk(0%, 70.9%, 3.4%, 29.8%)
CIE-LABlab(45.71, 64.13, -38.01)
CIE-LCHlch(45.71, 74.55, 329.34°)
OKLaboklab(55.96% 0.1815 -0.1049)
OKLCHoklch(55.96% 0.21 330)
XYZxyz(27.3611, 15.0589, 40.9926)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B334AD #34B33A
analogous
#7A34B3 #B334AD #B3346D
triadic
#B334AD #ADB334 #34ADB3
tetradic
#B334AD #B37A34 #34B33A #346DB3
square
#B334AD #B37A34 #34B33A #346DB3
split-complementary
#B334AD #6DB334 #34B37A
monochromatic
#541851 #84267F #B334AD #CE56C8 #DC86D8

Accessibility & contrast

On white

5.24
#B334AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B334AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B334AD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B334AD#FFFFFF#000000##FFFFFF
##B334AD1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2661B0
Deuteranopia (green-blind)
#5972AA
Tritanopia (blue-blind)
#BA446D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b334ad;
/* rgb */ color: rgb(179, 52, 173);
/* oklch */ color: oklch(56.0% 0.210 330.0);
Tailwind
colors: {
  custom: {
    50: '#cd77c6',
    500: '#b334ad',
    950: '#000000',
  },
}
SCSS
$custom: #b334ad;
$custom-light: #cd77c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b334ad",
  "rgb": {
    "r": 179,
    "g": 52,
    "b": 173
  },
  "hsl": {
    "h": 302.835,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55959,
    "c": 0.20961,
    "h": 330
  },
  "luminance": 0.15057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B334AD

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

Preview Lab → · Contrast checker → · Palette generator →

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