#B822BD#B822BD

#B822BD is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.4% C 0.241 H 326.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B822BD
RGBrgb(184, 34, 189)
HSLhsl(298, 70%, 44%)
HSVhsv(298, 82%, 74%)
CMYKcmyk(2.6%, 82%, 0%, 25.9%)
CIE-LABlab(45.65, 72.89, -47.47)
CIE-LCHlch(45.65, 86.99, 326.93°)
OKLaboklab(56.36% 0.2011 -0.1321)
OKLCHoklch(56.36% 0.241 326.7)
XYZxyz(29.5240, 15.0107, 49.4766)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B822BD #27BD22
analogous
#6B22BD #B822BD #BD2274
triadic
#B822BD #BDB822 #22BDB8
tetradic
#B822BD #BD6B22 #27BD22 #2274BD
square
#B822BD #BD6B22 #27BD22 #2274BD
split-complementary
#B822BD #74BD22 #22BD6B
monochromatic
#530F55 #861989 #B822BD #D840DD #E273E6

Accessibility & contrast

On white

5.25
#B822BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B822BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B822BD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B822BD#FFFFFF#000000##FFFFFF
##B822BD1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b822bd;
/* rgb */ color: rgb(184, 34, 189);
/* oklch */ color: oklch(56.4% 0.241 326.7);
Tailwind
colors: {
  custom: {
    50: '#d272d1',
    500: '#b822bd',
    950: '#000000',
  },
}
SCSS
$custom: #b822bd;
$custom-light: #d272d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b822bd",
  "rgb": {
    "r": 184,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 298.065,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5636,
    "c": 0.24058,
    "h": 326.7
  },
  "luminance": 0.15009
}

Semantic roles & 50–950 ramp

primary
#B822BD
secondary
#71CD6E
accent
#EC3B41
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#150914
muted
#837B82

Preview Lab

Preview with #B822BD

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

Preview Lab → · Contrast checker → · Palette generator →

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