#B982EA#B982EA

#B982EA is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.2% C 0.156 H 307.2°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#B982EA
RGBrgb(185, 130, 234)
HSLhsl(272, 71%, 71%)
HSVhsv(272, 44%, 92%)
CMYKcmyk(20.9%, 44.4%, 0%, 8.2%)
CIE-LABlab(63.52, 40.58, -44.69)
CIE-LCHlch(63.52, 60.37, 312.24°)
OKLaboklab(70.21% 0.0946 -0.1246)
OKLCHoklch(70.21% 0.156 307.2)
XYZxyz(42.8386, 32.2205, 81.7884)
Luminance0.3222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B982EA #B3EA82
analogous
#8582EA #B982EA #EA82E7
triadic
#B982EA #EAB982 #82EAB9
tetradic
#B982EA #EA8582 #B3EA82 #82E7EA
square
#B982EA #EA8582 #B3EA82 #82E7EA
split-complementary
#B982EA #E7EA82 #82EA85
monochromatic
#7E23CF #9C4EE1 #B982EA #D6B6F3 #F0E5FB

Accessibility & contrast

On white

2.82
#B982EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#B982EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B982EA
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B982EA#FFFFFF#000000##000000
##B982EA1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998EE
Deuteranopia (green-blind)
#769AE7
Tritanopia (blue-blind)
#B293AB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b982ea;
/* rgb */ color: rgb(185, 130, 234);
/* oklch */ color: oklch(70.2% 0.156 307.2);
Tailwind
colors: {
  custom: {
    50: '#d0a7f1',
    500: '#b982ea',
    950: '#000000',
  },
}
SCSS
$custom: #b982ea;
$custom-light: #d0a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b982ea",
  "rgb": {
    "r": 185,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 271.731,
    "s": 71.233,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70211,
    "c": 0.15645,
    "h": 307.2
  },
  "luminance": 0.3222
}

Semantic roles & 50–950 ramp

primary
#B982EA
secondary
#E3F1D6
accent
#D3126D
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B982EA

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

Preview Lab → · Contrast checker → · Palette generator →

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