#B982DF#B982DF

#B982DF is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.7% C 0.143 H 310.3°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#B982DF
RGBrgb(185, 130, 223)
HSLhsl(275, 59%, 69%)
HSVhsv(275, 42%, 87%)
CMYKcmyk(17%, 41.7%, 0%, 12.5%)
CIE-LABlab(63.02, 38.14, -39.38)
CIE-LCHlch(63.02, 54.82, 314.08°)
OKLaboklab(69.66% 0.0928 -0.1092)
OKLCHoklch(69.66% 0.143 310.3)
XYZxyz(41.3071, 31.6079, 73.7226)
Luminance0.3161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B982DF #A8DF82
analogous
#8B82DF #B982DF #DF82D7
triadic
#B982DF #DFB982 #82DFB9
tetradic
#B982DF #DF8B82 #A8DF82 #82D7DF
square
#B982DF #DF8B82 #A8DF82 #82D7DF
split-complementary
#B982DF #D7DF82 #82DF8B
monochromatic
#802FB8 #9E51D3 #B982DF #D4B3EB #F0E3F8

Accessibility & contrast

On white

2.87
#B982DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#B982DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B982DF
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B982DF#FFFFFF#000000##000000
##B982DF1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F96E2
Deuteranopia (green-blind)
#7C9ADC
Tritanopia (blue-blind)
#B590A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b982df;
/* rgb */ color: rgb(185, 130, 223);
/* oklch */ color: oklch(69.7% 0.143 310.3);
Tailwind
colors: {
  custom: {
    50: '#cfa7e9',
    500: '#b982df',
    950: '#000000',
  },
}
SCSS
$custom: #b982df;
$custom-light: #cfa7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b982df",
  "rgb": {
    "r": 185,
    "g": 130,
    "b": 223
  },
  "hsl": {
    "h": 275.484,
    "s": 59.236,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69665,
    "c": 0.14332,
    "h": 310.3
  },
  "luminance": 0.31607
}

Semantic roles & 50–950 ramp

primary
#B982DF
secondary
#DCECD1
accent
#C71F63
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B982DF

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

Preview Lab → · Contrast checker → · Palette generator →

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