#B982FF#B982FF

#B982FF is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.3% C 0.182 H 302.3°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#B982FF
RGBrgb(185, 130, 255)
HSLhsl(266, 100%, 75%)
HSVhsv(266, 49%, 100%)
CMYKcmyk(27.5%, 49%, 0%, 0%)
CIE-LABlab(64.56, 45.41, -54.61)
CIE-LCHlch(64.56, 71.02, 309.74°)
OKLaboklab(71.33% 0.0972 -0.1535)
OKLCHoklch(71.33% 0.182 302.3)
XYZxyz(46.0362, 33.4995, 98.6291)
Luminance0.3350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B982FF #C8FF82
analogous
#8289FF #B982FF #F782FF
triadic
#B982FF #FFB982 #82FFB9
tetradic
#B982FF #FF8289 #C8FF82 #82FFF7
square
#B982FF #FF8289 #C8FF82 #82FFF7
split-complementary
#B982FF #FFF782 #89FF82
monochromatic
#7408FF #9745FF #B982FF #DBBFFF #EEE0FF

Accessibility & contrast

On white

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

On black

7.70
#B982FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B982FF
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B982FF#FFFFFF#000000##000000
##B982FF1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9CFF
Deuteranopia (green-blind)
#699CFC
Tritanopia (blue-blind)
#AC99B5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b982ff;
/* rgb */ color: rgb(185, 130, 255);
/* oklch */ color: oklch(71.3% 0.182 302.3);
Tailwind
colors: {
  custom: {
    50: '#d1a7ff',
    500: '#b982ff',
    950: '#000000',
  },
}
SCSS
$custom: #b982ff;
$custom-light: #d1a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b982ff",
  "rgb": {
    "r": 185,
    "g": 130,
    "b": 255
  },
  "hsl": {
    "h": 266.4,
    "s": 100,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71325,
    "c": 0.18165,
    "h": 302.3
  },
  "luminance": 0.335
}

Semantic roles & 50–950 ramp

primary
#B982FF
secondary
#E8F7D4
accent
#E60081
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #B982FF

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

Preview Lab → · Contrast checker → · Palette generator →

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