#B82CB1#B82CB1

#B82CB1 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.3% C 0.223 H 330.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B82CB1
RGBrgb(184, 44, 177)
HSLhsl(303, 61%, 45%)
HSVhsv(303, 76%, 72%)
CMYKcmyk(0%, 76.1%, 3.8%, 27.8%)
CIE-LABlab(45.86, 68.41, -40.08)
CIE-LCHlch(45.86, 79.29, 329.63°)
OKLaboklab(56.29% 0.1941 -0.1107)
OKLCHoklch(56.29% 0.223 330.3)
XYZxyz(28.6036, 15.1683, 43.0077)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82CB1 #2CB833
analogous
#792CB8 #B82CB1 #B82C6B
triadic
#B82CB1 #B1B82C #2CB1B8
tetradic
#B82CB1 #B8792C #2CB833 #2C6BB8
square
#B82CB1 #B8792C #2CB833 #2C6BB8
split-complementary
#B82CB1 #6BB82C #2CB879
monochromatic
#551452 #872081 #B82CB1 #D44DCE #E07EDB

Accessibility & contrast

On white

5.21
#B82CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B82CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82CB1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82CB1#FFFFFF#000000##FFFFFF
##B82CB11.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1961B5
Deuteranopia (green-blind)
#5873AE
Tritanopia (blue-blind)
#BF406D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b82cb1;
/* rgb */ color: rgb(184, 44, 177);
/* oklch */ color: oklch(56.3% 0.223 330.3);
Tailwind
colors: {
  custom: {
    50: '#d175c9',
    500: '#b82cb1',
    950: '#000000',
  },
}
SCSS
$custom: #b82cb1;
$custom-light: #d175c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b82cb1",
  "rgb": {
    "r": 184,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 303,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56293,
    "c": 0.22344,
    "h": 330.3
  },
  "luminance": 0.15166
}

Semantic roles & 50–950 ramp

primary
#B82CB1
secondary
#77C97B
accent
#E54B43
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B82CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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