#B980EC#B980EC

#B980EC is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.0% C 0.162 H 307.0°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#B980EC
RGBrgb(185, 128, 236)
HSLhsl(272, 74%, 71%)
HSVhsv(272, 46%, 93%)
CMYKcmyk(21.6%, 45.8%, 0%, 7.5%)
CIE-LABlab(63.18, 42.12, -46.34)
CIE-LCHlch(63.18, 62.62, 312.27°)
OKLaboklab(69.99% 0.0976 -0.1293)
OKLCHoklch(69.99% 0.162 307)
XYZxyz(42.8641, 31.8092, 83.2223)
Luminance0.3181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B980EC #B3EC80
analogous
#8380EC #B980EC #EC80E9
triadic
#B980EC #ECB980 #80ECB9
tetradic
#B980EC #EC8380 #B3EC80 #80E9EC
square
#B980EC #EC8380 #B3EC80 #80E9EC
split-complementary
#B980EC #E9EC80 #80EC83
monochromatic
#7E1FD2 #9C4BE4 #B980EC #D6B5F4 #F0E4FB

Accessibility & contrast

On white

2.85
#B980EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#B980EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B980EC
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B980EC#FFFFFF#000000##000000
##B980EC1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597F0
Deuteranopia (green-blind)
#7399E9
Tritanopia (blue-blind)
#B292AB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b980ec;
/* rgb */ color: rgb(185, 128, 236);
/* oklch */ color: oklch(70.0% 0.162 307.0);
Tailwind
colors: {
  custom: {
    50: '#d0a6f2',
    500: '#b980ec',
    950: '#000000',
  },
}
SCSS
$custom: #b980ec;
$custom-light: #d0a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b980ec",
  "rgb": {
    "r": 185,
    "g": 128,
    "b": 236
  },
  "hsl": {
    "h": 271.667,
    "s": 73.973,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69988,
    "c": 0.16206,
    "h": 307
  },
  "luminance": 0.31809
}

Semantic roles & 50–950 ramp

primary
#B980EC
secondary
#E3F2D6
accent
#D60F6D
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B980EC

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

Preview Lab → · Contrast checker → · Palette generator →

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