#B980EB#B980EB

#B980EB is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.9% C 0.161 H 307.3°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#B980EB
RGBrgb(185, 128, 235)
HSLhsl(272, 73%, 71%)
HSVhsv(272, 46%, 92%)
CMYKcmyk(21.3%, 45.5%, 0%, 7.8%)
CIE-LABlab(63.14, 41.89, -45.86)
CIE-LCHlch(63.14, 62.11, 312.41°)
OKLaboklab(69.94% 0.0975 -0.128)
OKLCHoklch(69.94% 0.161 307.3)
XYZxyz(42.7192, 31.7512, 82.4593)
Luminance0.3175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B980EB #B2EB80
analogous
#8380EB #B980EB #EB80E7
triadic
#B980EB #EBB980 #80EBB9
tetradic
#B980EB #EB8380 #B2EB80 #80E7EB
square
#B980EB #EB8380 #B2EB80 #80E7EB
split-complementary
#B980EB #E7EB80 #80EB83
monochromatic
#7E21D0 #9C4BE3 #B980EB #D6B5F3 #F0E5FB

Accessibility & contrast

On white

2.86
#B980EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#B980EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B980EB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B980EB#FFFFFF#000000##000000
##B980EB1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597EF
Deuteranopia (green-blind)
#7499E8
Tritanopia (blue-blind)
#B292AA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b980eb;
/* rgb */ color: rgb(185, 128, 235);
/* oklch */ color: oklch(69.9% 0.161 307.3);
Tailwind
colors: {
  custom: {
    50: '#d0a6f2',
    500: '#b980eb',
    950: '#000000',
  },
}
SCSS
$custom: #b980eb;
$custom-light: #d0a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b980eb",
  "rgb": {
    "r": 185,
    "g": 128,
    "b": 235
  },
  "hsl": {
    "h": 271.963,
    "s": 72.789,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69936,
    "c": 0.16088,
    "h": 307.3
  },
  "luminance": 0.31751
}

Semantic roles & 50–950 ramp

primary
#B980EB
secondary
#E2F1D5
accent
#D5116C
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B980EB

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

Preview Lab → · Contrast checker → · Palette generator →

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