#B882F5#B882F5

#B882F5 is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.7% C 0.169 H 304.1°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#B882F5
RGBrgb(184, 130, 245)
HSLhsl(268, 85%, 74%)
HSVhsv(268, 47%, 96%)
CMYKcmyk(24.9%, 46.9%, 0%, 3.9%)
CIE-LABlab(63.96, 42.82, -50.09)
CIE-LCHlch(63.96, 65.90, 310.52°)
OKLaboklab(70.69% 0.0949 -0.1403)
OKLCHoklch(70.69% 0.169 304.1)
XYZxyz(44.2277, 32.7483, 90.3596)
Luminance0.3275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B882F5 #BFF582
analogous
#8285F5 #B882F5 #F182F5
triadic
#B882F5 #F5B882 #82F5B8
tetradic
#B882F5 #F58285 #BFF582 #82F5F1
square
#B882F5 #F58285 #BFF582 #82F5F1
split-complementary
#B882F5 #F5F182 #85F582
monochromatic
#7813EA #9849F0 #B882F5 #D8BBFA #EFE3FD

Accessibility & contrast

On white

2.78
#B882F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#B882F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B882F5
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B882F5#FFFFFF#000000##000000
##B882F51.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#629AF9
Deuteranopia (green-blind)
#6F9BF2
Tritanopia (blue-blind)
#AE96B0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b882f5;
/* rgb */ color: rgb(184, 130, 245);
/* oklch */ color: oklch(70.7% 0.169 304.1);
Tailwind
colors: {
  custom: {
    50: '#d0a7f9',
    500: '#b882f5',
    950: '#000000',
  },
}
SCSS
$custom: #b882f5;
$custom-light: #d0a7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b882f5",
  "rgb": {
    "r": 184,
    "g": 130,
    "b": 245
  },
  "hsl": {
    "h": 268.174,
    "s": 85.185,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70685,
    "c": 0.16939,
    "h": 304.1
  },
  "luminance": 0.32748
}

Semantic roles & 50–950 ramp

primary
#B882F5
secondary
#E6F5D6
accent
#E2047A
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B882F5

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

Preview Lab → · Contrast checker → · Palette generator →

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