#B982FE#B982FE

#B982FE is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.3% C 0.180 H 302.6°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#B982FE
RGBrgb(185, 130, 254)
HSLhsl(267, 98%, 75%)
HSVhsv(267, 49%, 100%)
CMYKcmyk(27.2%, 48.8%, 0%, 0.4%)
CIE-LABlab(64.51, 45.18, -54.15)
CIE-LCHlch(64.51, 70.52, 309.84°)
OKLaboklab(71.27% 0.0971 -0.1521)
OKLCHoklch(71.27% 0.18 302.6)
XYZxyz(45.8756, 33.4353, 97.7835)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B982FE #C7FE82
analogous
#8289FE #B982FE #F782FE
triadic
#B982FE #FEB982 #82FEB9
tetradic
#B982FE #FE8289 #C7FE82 #82FEF7
square
#B982FE #FE8289 #C7FE82 #82FEF7
split-complementary
#B982FE #FEF782 #89FE82
monochromatic
#7509FD #9745FE #B982FE #DBBFFE #EEE1FF

Accessibility & contrast

On white

2.73
#B982FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#B982FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B982FE
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B982FE#FFFFFF#000000##000000
##B982FE1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#6A9CFB
Tritanopia (blue-blind)
#AC98B4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b982fe;
/* rgb */ color: rgb(185, 130, 254);
/* oklch */ color: oklch(71.3% 0.180 302.6);
Tailwind
colors: {
  custom: {
    50: '#d1a7ff',
    500: '#b982fe',
    950: '#000000',
  },
}
SCSS
$custom: #b982fe;
$custom-light: #d1a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b982fe",
  "rgb": {
    "r": 185,
    "g": 130,
    "b": 254
  },
  "hsl": {
    "h": 266.613,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7127,
    "c": 0.18045,
    "h": 302.6
  },
  "luminance": 0.33435
}

Semantic roles & 50–950 ramp

primary
#B982FE
secondary
#E7F7D4
accent
#E60080
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #B982FE

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

Preview Lab → · Contrast checker → · Palette generator →

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