#B980EA#B980EA

#B980EA is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.9% C 0.160 H 307.6°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#B980EA
RGBrgb(185, 128, 234)
HSLhsl(272, 72%, 71%)
HSVhsv(272, 45%, 92%)
CMYKcmyk(20.9%, 45.3%, 0%, 8.2%)
CIE-LABlab(63.09, 41.67, -45.38)
CIE-LCHlch(63.09, 61.61, 312.56°)
OKLaboklab(69.88% 0.0974 -0.1266)
OKLCHoklch(69.88% 0.16 307.6)
XYZxyz(42.5751, 31.6936, 81.7005)
Luminance0.3169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B980EA #B1EA80
analogous
#8480EA #B980EA #EA80E6
triadic
#B980EA #EAB980 #80EAB9
tetradic
#B980EA #EA8480 #B1EA80 #80E6EA
square
#B980EA #EA8480 #B1EA80 #80E6EA
split-complementary
#B980EA #E6EA80 #80EA84
monochromatic
#7E22CE #9C4BE1 #B980EA #D6B5F3 #F1E5FB

Accessibility & contrast

On white

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

On black

7.34
#B980EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B980EA
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B980EA#FFFFFF#000000##000000
##B980EA1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6696EE
Deuteranopia (green-blind)
#7599E7
Tritanopia (blue-blind)
#B291AA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b980ea;
/* rgb */ color: rgb(185, 128, 234);
/* oklch */ color: oklch(69.9% 0.160 307.6);
Tailwind
colors: {
  custom: {
    50: '#d0a6f1',
    500: '#b980ea',
    950: '#000000',
  },
}
SCSS
$custom: #b980ea;
$custom-light: #d0a6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b980ea",
  "rgb": {
    "r": 185,
    "g": 128,
    "b": 234
  },
  "hsl": {
    "h": 272.264,
    "s": 71.622,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69885,
    "c": 0.15969,
    "h": 307.6
  },
  "luminance": 0.31693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B980EA

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

Preview Lab → · Contrast checker → · Palette generator →

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