#B721BD#B721BD

#B721BD is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 56.2% C 0.241 H 326.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B721BD
RGBrgb(183, 33, 189)
HSLhsl(298, 70%, 44%)
HSVhsv(298, 83%, 74%)
CMYKcmyk(3.2%, 82.5%, 0%, 25.9%)
CIE-LABlab(45.40, 72.93, -47.87)
CIE-LCHlch(45.40, 87.24, 326.72°)
OKLaboklab(56.15% 0.2006 -0.1333)
OKLCHoklch(56.15% 0.241 326.4)
XYZxyz(29.2571, 14.8312, 49.4560)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B721BD #27BD21
analogous
#6921BD #B721BD #BD2175
triadic
#B721BD #BDB721 #21BDB7
tetradic
#B721BD #BD6921 #27BD21 #2175BD
square
#B721BD #BD6921 #27BD21 #2175BD
split-complementary
#B721BD #75BD21 #21BD69
monochromatic
#520F55 #851889 #B721BD #D73EDD #E272E6

Accessibility & contrast

On white

5.30
#B721BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B721BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B721BD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B721BD#FFFFFF#000000##FFFFFF
##B721BD1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#4B72BA
Tritanopia (blue-blind)
#BC4172
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b721bd;
/* rgb */ color: rgb(183, 33, 189);
/* oklch */ color: oklch(56.2% 0.241 326.4);
Tailwind
colors: {
  custom: {
    50: '#d172d1',
    500: '#b721bd',
    950: '#000000',
  },
}
SCSS
$custom: #b721bd;
$custom-light: #d172d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b721bd",
  "rgb": {
    "r": 183,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 297.692,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.56153,
    "c": 0.24089,
    "h": 326.4
  },
  "luminance": 0.14829
}

Semantic roles & 50–950 ramp

primary
#B721BD
secondary
#70CD6D
accent
#ED3B42
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#150914
muted
#837B82

Preview Lab

Preview with #B721BD

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

Preview Lab → · Contrast checker → · Palette generator →

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