#B882FE#B882FE

#B882FE is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.2% C 0.180 H 302.1°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#B882FE
RGBrgb(184, 130, 254)
HSLhsl(266, 98%, 75%)
HSVhsv(266, 49%, 100%)
CMYKcmyk(27.6%, 48.8%, 0%, 0.4%)
CIE-LABlab(64.41, 44.92, -54.31)
CIE-LCHlch(64.41, 70.48, 309.59°)
OKLaboklab(71.17% 0.0959 -0.1526)
OKLCHoklch(71.17% 0.18 302.1)
XYZxyz(45.6352, 33.3113, 97.7723)
Luminance0.3331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B882FE #C8FE82
analogous
#828AFE #B882FE #F682FE
triadic
#B882FE #FEB882 #82FEB8
tetradic
#B882FE #FE828A #C8FE82 #82FEF6
square
#B882FE #FE828A #C8FE82 #82FEF6
split-complementary
#B882FE #FEF682 #8AFE82
monochromatic
#7309FD #9645FE #B882FE #DABFFE #EEE1FF

Accessibility & contrast

On white

2.74
#B882FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#B882FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B882FE
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B882FE#FFFFFF#000000##000000
##B882FE1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#699CFB
Tritanopia (blue-blind)
#AB99B4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b882fe;
/* rgb */ color: rgb(184, 130, 254);
/* oklch */ color: oklch(71.2% 0.180 302.1);
Tailwind
colors: {
  custom: {
    50: '#d0a7ff',
    500: '#b882fe',
    950: '#000000',
  },
}
SCSS
$custom: #b882fe;
$custom-light: #d0a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b882fe",
  "rgb": {
    "r": 184,
    "g": 130,
    "b": 254
  },
  "hsl": {
    "h": 266.129,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71173,
    "c": 0.18024,
    "h": 302.1
  },
  "luminance": 0.33311
}

Semantic roles & 50–950 ramp

primary
#B882FE
secondary
#E8F7D4
accent
#E60082
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #B882FE

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

Preview Lab → · Contrast checker → · Palette generator →

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