#B982FD#B982FD

#B982FD is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.2% C 0.179 H 302.8°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#B982FD
RGBrgb(185, 130, 253)
HSLhsl(267, 97%, 75%)
HSVhsv(267, 49%, 99%)
CMYKcmyk(26.9%, 48.6%, 0%, 0.8%)
CIE-LABlab(64.46, 44.94, -53.68)
CIE-LCHlch(64.46, 70.01, 309.94°)
OKLaboklab(71.21% 0.097 -0.1507)
OKLCHoklch(71.21% 0.179 302.8)
XYZxyz(45.7159, 33.3714, 96.9424)
Luminance0.3337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B982FD #C6FD82
analogous
#8289FD #B982FD #F682FD
triadic
#B982FD #FDB982 #82FDB9
tetradic
#B982FD #FD8289 #C6FD82 #82FDF6
square
#B982FD #FD8289 #C6FD82 #82FDF6
split-complementary
#B982FD #FDF682 #89FD82
monochromatic
#760AFB #9746FC #B982FD #DBBEFE #EEE1FF

Accessibility & contrast

On white

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

On black

7.67
#B982FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B982FD
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B982FD#FFFFFF#000000##000000
##B982FD1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9BFF
Deuteranopia (green-blind)
#6B9CFA
Tritanopia (blue-blind)
#AD98B4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b982fd;
/* rgb */ color: rgb(185, 130, 253);
/* oklch */ color: oklch(71.2% 0.179 302.8);
Tailwind
colors: {
  custom: {
    50: '#d1a7fe',
    500: '#b982fd',
    950: '#000000',
  },
}
SCSS
$custom: #b982fd;
$custom-light: #d1a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b982fd",
  "rgb": {
    "r": 185,
    "g": 130,
    "b": 253
  },
  "hsl": {
    "h": 266.829,
    "s": 96.85,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71215,
    "c": 0.17925,
    "h": 302.8
  },
  "luminance": 0.33371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B982FD

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

Preview Lab → · Contrast checker → · Palette generator →

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