#B980DC#B980DC

#B980DC is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.2% C 0.143 H 311.6°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#B980DC
RGBrgb(185, 128, 220)
HSLhsl(277, 57%, 68%)
HSVhsv(277, 42%, 86%)
CMYKcmyk(15.9%, 41.8%, 0%, 13.7%)
CIE-LABlab(62.44, 38.58, -38.61)
CIE-LCHlch(62.44, 54.59, 314.98°)
OKLaboklab(69.19% 0.0951 -0.107)
OKLCHoklch(69.19% 0.143 311.6)
XYZxyz(40.6428, 30.9207, 71.5235)
Luminance0.3092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B980DC #A3DC80
analogous
#8B80DC #B980DC #DC80D1
triadic
#B980DC #DCB980 #80DCB9
tetradic
#B980DC #DC8B80 #A3DC80 #80D1DC
square
#B980DC #DC8B80 #A3DC80 #80D1DC
split-complementary
#B980DC #D1DC80 #80DC8B
monochromatic
#8031B1 #9F50CF #B980DC #D3B0E9 #EEE0F6

Accessibility & contrast

On white

2.92
#B980DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#B980DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B980DC
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B980DC#FFFFFF#000000##000000
##B980DC1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E94DF
Deuteranopia (green-blind)
#7C98D9
Tritanopia (blue-blind)
#B58EA4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b980dc;
/* rgb */ color: rgb(185, 128, 220);
/* oklch */ color: oklch(69.2% 0.143 311.6);
Tailwind
colors: {
  custom: {
    50: '#cfa6e7',
    500: '#b980dc',
    950: '#000000',
  },
}
SCSS
$custom: #b980dc;
$custom-light: #cfa6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b980dc",
  "rgb": {
    "r": 185,
    "g": 128,
    "b": 220
  },
  "hsl": {
    "h": 277.174,
    "s": 56.79,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69187,
    "c": 0.14315,
    "h": 311.6
  },
  "luminance": 0.3092
}

Semantic roles & 50–950 ramp

primary
#B980DC
secondary
#D9EACE
accent
#C4215F
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B980DC

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

Preview Lab → · Contrast checker → · Palette generator →

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