#B982FC#B982FC

#B982FC is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.2% C 0.178 H 303.0°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#B982FC
RGBrgb(185, 130, 252)
HSLhsl(267, 95%, 75%)
HSVhsv(267, 48%, 99%)
CMYKcmyk(26.6%, 48.4%, 0%, 1.2%)
CIE-LABlab(64.41, 44.71, -53.21)
CIE-LCHlch(64.41, 69.50, 310.04°)
OKLaboklab(71.16% 0.0969 -0.1494)
OKLCHoklch(71.16% 0.178 303)
XYZxyz(45.5570, 33.3079, 96.1056)
Luminance0.3331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B982FC #C5FC82
analogous
#8288FC #B982FC #F682FC
triadic
#B982FC #FCB982 #82FCB9
tetradic
#B982FC #FC8288 #C5FC82 #82FCF6
square
#B982FC #FC8288 #C5FC82 #82FCF6
split-complementary
#B982FC #FCF682 #88FC82
monochromatic
#760AF9 #9846FB #B982FC #DABEFD #EEE1FE

Accessibility & contrast

On white

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

On black

7.66
#B982FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B982FC
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B982FC#FFFFFF#000000##000000
##B982FC1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#6B9CF9
Tritanopia (blue-blind)
#AD98B3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b982fc;
/* rgb */ color: rgb(185, 130, 252);
/* oklch */ color: oklch(71.2% 0.178 303.0);
Tailwind
colors: {
  custom: {
    50: '#d1a7fe',
    500: '#b982fc',
    950: '#000000',
  },
}
SCSS
$custom: #b982fc;
$custom-light: #d1a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b982fc",
  "rgb": {
    "r": 185,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 267.049,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71161,
    "c": 0.17805,
    "h": 303
  },
  "luminance": 0.33308
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B982FC

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

Preview Lab → · Contrast checker → · Palette generator →

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