#B331A0#B331A0

#B331A0 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.203 H 334.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B331A0
RGBrgb(179, 49, 160)
HSLhsl(309, 57%, 45%)
HSVhsv(309, 73%, 70%)
CMYKcmyk(0%, 72.6%, 10.6%, 29.8%)
CIE-LABlab(44.69, 63.13, -31.90)
CIE-LCHlch(44.69, 70.73, 333.19°)
OKLaboklab(55.01% 0.1837 -0.0872)
OKLCHoklch(55.01% 0.203 334.6)
XYZxyz(26.0342, 14.3207, 34.6439)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B331A0 #31B344
analogous
#8531B3 #B331A0 #B3315F
triadic
#B331A0 #A0B331 #31A0B3
tetradic
#B331A0 #B38531 #31B344 #315FB3
square
#B331A0 #B38531 #31B344 #315FB3
split-complementary
#B331A0 #5FB331 #31B385
monochromatic
#53174A #832475 #B331A0 #D052BD #DD82CF

Accessibility & contrast

On white

5.44
#B331A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B331A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B331A0
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B331A0#FFFFFF#000000##FFFFFF
##B331A01.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5DA3
Deuteranopia (green-blind)
#5E719D
Tritanopia (blue-blind)
#BC3C65
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b331a0;
/* rgb */ color: rgb(179, 49, 160);
/* oklch */ color: oklch(55.0% 0.203 334.6);
Tailwind
colors: {
  custom: {
    50: '#cd76bc',
    500: '#b331a0',
    950: '#000000',
  },
}
SCSS
$custom: #b331a0;
$custom-light: #cd76bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b331a0",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 160
  },
  "hsl": {
    "h": 308.769,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55005,
    "c": 0.20336,
    "h": 334.6
  },
  "luminance": 0.14318
}

Semantic roles & 50–950 ramp

primary
#B331A0
secondary
#7AC685
accent
#E05E48
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B331A0

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

Preview Lab → · Contrast checker → · Palette generator →

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