#B882CA#B882CA

#B882CA is a light, moderate purple. Relative luminance 0.304; OKLCH L 68.6% C 0.118 H 317.4°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#B882CA
RGBrgb(184, 130, 202)
HSLhsl(285, 40%, 65%)
HSVhsv(285, 36%, 79%)
CMYKcmyk(8.9%, 35.6%, 0%, 20.8%)
CIE-LABlab(62.02, 33.38, -29.20)
CIE-LCHlch(62.02, 44.35, 318.83°)
OKLaboklab(68.59% 0.0872 -0.0801)
OKLCHoklch(68.59% 0.118 317.4)
XYZxyz(38.4089, 30.4208, 59.7142)
Luminance0.3042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B882CA #94CA82
analogous
#9482CA #B882CA #CA82B8
triadic
#B882CA #CAB882 #82CAB8
tetradic
#B882CA #CA9482 #94CA82 #82B8CA
square
#B882CA #CA9482 #94CA82 #82B8CA
split-complementary
#B882CA #B8CA82 #82CA94
monochromatic
#7E3E93 #A057B8 #B882CA #D0ADDC #E9D8EE

Accessibility & contrast

On white

2.96
#B882CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#B882CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B882CA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B882CA#FFFFFF#000000##000000
##B882CA1.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7892CD
Deuteranopia (green-blind)
#8598C8
Tritanopia (blue-blind)
#B88B9D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b882ca;
/* rgb */ color: rgb(184, 130, 202);
/* oklch */ color: oklch(68.6% 0.118 317.4);
Tailwind
colors: {
  custom: {
    50: '#cea7da',
    500: '#b882ca',
    950: '#000000',
  },
}
SCSS
$custom: #b882ca;
$custom-light: #cea7da;
$custom-dark: #000000;
JSON
{
  "hex": "#b882ca",
  "rgb": {
    "r": 184,
    "g": 130,
    "b": 202
  },
  "hsl": {
    "h": 285,
    "s": 40.449,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6859,
    "c": 0.11836,
    "h": 317.4
  },
  "luminance": 0.3042
}

Semantic roles & 50–950 ramp

primary
#B882CA
secondary
#CEE0C8
accent
#B33252
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#140F15
muted
#827F83

Preview Lab

Preview with #B882CA

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

Preview Lab → · Contrast checker → · Palette generator →

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