#B571B2#B571B2

#B571B2 is a light, vivid purple. Relative luminance 0.248; OKLCH L 64.4% C 0.121 H 328.4°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B571B2
RGBrgb(181, 113, 178)
HSLhsl(303, 31%, 58%)
HSVhsv(303, 38%, 71%)
CMYKcmyk(0%, 37.6%, 1.7%, 29%)
CIE-LABlab(56.93, 37.06, -23.42)
CIE-LCHlch(56.93, 43.84, 327.71°)
OKLaboklab(64.36% 0.1035 -0.0636)
OKLCHoklch(64.36% 0.121 328.4)
XYZxyz(32.9965, 24.8498, 45.1693)
Luminance0.2485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B571B2 #71B574
analogous
#9671B5 #B571B2 #B57190
triadic
#B571B2 #B2B571 #71B2B5
tetradic
#B571B2 #B59671 #71B574 #7190B5
square
#B571B2 #B59671 #71B574 #7190B5
split-complementary
#B571B2 #90B571 #71B596
monochromatic
#713B6E #995096 #B571B2 #CA99C8 #DFC1DE

Accessibility & contrast

On white

3.52
#B571B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#B571B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B571B2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B571B2#FFFFFF#000000##000000
##B571B21.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D83B4
Deuteranopia (green-blind)
#7E8CB0
Tritanopia (blue-blind)
#B97789
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b571b2;
/* rgb */ color: rgb(181, 113, 178);
/* oklch */ color: oklch(64.4% 0.121 328.4);
Tailwind
colors: {
  custom: {
    50: '#cc9bc9',
    500: '#b571b2',
    950: '#000000',
  },
}
SCSS
$custom: #b571b2;
$custom-light: #cc9bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b571b2",
  "rgb": {
    "r": 181,
    "g": 113,
    "b": 178
  },
  "hsl": {
    "h": 302.647,
    "s": 31.481,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64358,
    "c": 0.12148,
    "h": 328.4
  },
  "luminance": 0.24848
}

Semantic roles & 50–950 ramp

primary
#B571B2
secondary
#B3CFB4
accent
#C86560
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#130E13
muted
#827E82

Preview Lab

Preview with #B571B2

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

Preview Lab → · Contrast checker → · Palette generator →

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