#B982FA#B982FA

#B982FA is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.1% C 0.176 H 303.4°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#B982FA
RGBrgb(185, 130, 250)
HSLhsl(268, 92%, 75%)
HSVhsv(268, 48%, 98%)
CMYKcmyk(26%, 48%, 0%, 2%)
CIE-LABlab(64.31, 44.24, -52.28)
CIE-LCHlch(64.31, 68.48, 310.24°)
OKLaboklab(71.05% 0.0967 -0.1466)
OKLCHoklch(71.05% 0.176 303.4)
XYZxyz(45.2418, 33.1818, 94.4452)
Luminance0.3318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B982FA #C3FA82
analogous
#8287FA #B982FA #F582FA
triadic
#B982FA #FAB982 #82FAB9
tetradic
#B982FA #FA8287 #C3FA82 #82FAF5
square
#B982FA #FA8287 #C3FA82 #82FAF5
split-complementary
#B982FA #FAF582 #87FA82
monochromatic
#770CF5 #9847F8 #B982FA #DABDFC #EFE2FE

Accessibility & contrast

On white

2.75
#B982FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#B982FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B982FA
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B982FA#FFFFFF#000000##000000
##B982FA1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFE
Deuteranopia (green-blind)
#6D9CF7
Tritanopia (blue-blind)
#AE97B2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b982fa;
/* rgb */ color: rgb(185, 130, 250);
/* oklch */ color: oklch(71.1% 0.176 303.4);
Tailwind
colors: {
  custom: {
    50: '#d1a7fc',
    500: '#b982fa',
    950: '#000000',
  },
}
SCSS
$custom: #b982fa;
$custom-light: #d1a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b982fa",
  "rgb": {
    "r": 185,
    "g": 130,
    "b": 250
  },
  "hsl": {
    "h": 267.5,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71052,
    "c": 0.17565,
    "h": 303.4
  },
  "luminance": 0.33182
}

Semantic roles & 50–950 ramp

primary
#B982FA
secondary
#E7F6D5
accent
#E6007C
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #B982FA

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

Preview Lab → · Contrast checker → · Palette generator →

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