#B882DC#B882DC

#B882DC is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.4% C 0.139 H 310.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#B882DC
RGBrgb(184, 130, 220)
HSLhsl(276, 56%, 69%)
HSVhsv(276, 41%, 86%)
CMYKcmyk(16.4%, 40.9%, 0%, 13.7%)
CIE-LABlab(62.78, 37.19, -38.09)
CIE-LCHlch(62.78, 53.24, 314.32°)
OKLaboklab(69.42% 0.091 -0.1055)
OKLCHoklch(69.42% 0.139 310.8)
XYZxyz(40.6658, 31.3236, 71.6001)
Luminance0.3132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B882DC #A6DC82
analogous
#8B82DC #B882DC #DC82D3
triadic
#B882DC #DCB882 #82DCB8
tetradic
#B882DC #DC8B82 #A6DC82 #82D3DC
square
#B882DC #DC8B82 #A6DC82 #82D3DC
split-complementary
#B882DC #D3DC82 #82DC8B
monochromatic
#7F32B2 #9D52CF #B882DC #D3B2E9 #EEE2F7

Accessibility & contrast

On white

2.89
#B882DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#B882DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B882DC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B882DC#FFFFFF#000000##000000
##B882DC1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7095DF
Deuteranopia (green-blind)
#7D99D9
Tritanopia (blue-blind)
#B48FA5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b882dc;
/* rgb */ color: rgb(184, 130, 220);
/* oklch */ color: oklch(69.4% 0.139 310.8);
Tailwind
colors: {
  custom: {
    50: '#cfa7e7',
    500: '#b882dc',
    950: '#000000',
  },
}
SCSS
$custom: #b882dc;
$custom-light: #cfa7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b882dc",
  "rgb": {
    "r": 184,
    "g": 130,
    "b": 220
  },
  "hsl": {
    "h": 276,
    "s": 56.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69418,
    "c": 0.13937,
    "h": 310.8
  },
  "luminance": 0.31323
}

Semantic roles & 50–950 ramp

primary
#B882DC
secondary
#DAEACF
accent
#C42263
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B882DC

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

Preview Lab → · Contrast checker → · Palette generator →

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