#B820BD#B820BD

#B820BD is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.3% C 0.242 H 326.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B820BD
RGBrgb(184, 32, 189)
HSLhsl(298, 71%, 43%)
HSVhsv(298, 83%, 74%)
CMYKcmyk(2.6%, 83.1%, 0%, 25.9%)
CIE-LABlab(45.50, 73.34, -47.71)
CIE-LCHlch(45.50, 87.49, 326.95°)
OKLaboklab(56.25% 0.2023 -0.1328)
OKLCHoklch(56.25% 0.242 326.7)
XYZxyz(29.4685, 14.8996, 49.4581)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B820BD #25BD20
analogous
#6920BD #B820BD #BD2073
triadic
#B820BD #BDB820 #20BDB8
tetradic
#B820BD #BD6920 #25BD20 #2073BD
square
#B820BD #BD6920 #25BD20 #2073BD
split-complementary
#B820BD #73BD20 #20BD69
monochromatic
#520E54 #851789 #B820BD #D93CDE #E371E7

Accessibility & contrast

On white

5.28
#B820BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B820BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B820BD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B820BD#FFFFFF#000000##FFFFFF
##B820BD1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#4C72B9
Tritanopia (blue-blind)
#BD4072
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b820bd;
/* rgb */ color: rgb(184, 32, 189);
/* oklch */ color: oklch(56.3% 0.242 326.7);
Tailwind
colors: {
  custom: {
    50: '#d272d1',
    500: '#b820bd',
    950: '#000000',
  },
}
SCSS
$custom: #b820bd;
$custom-light: #d272d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b820bd",
  "rgb": {
    "r": 184,
    "g": 32,
    "b": 189
  },
  "hsl": {
    "h": 298.089,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56252,
    "c": 0.24199,
    "h": 326.7
  },
  "luminance": 0.14897
}

Semantic roles & 50–950 ramp

primary
#B820BD
secondary
#6ECD6B
accent
#EE3A40
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#150914
muted
#837B82

Preview Lab

Preview with #B820BD

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

Preview Lab → · Contrast checker → · Palette generator →

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