#B980E5#B980E5

#B980E5 is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.6% C 0.154 H 308.9°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#B980E5
RGBrgb(185, 128, 229)
HSLhsl(274, 66%, 70%)
HSVhsv(274, 44%, 90%)
CMYKcmyk(19.2%, 44.1%, 0%, 10.2%)
CIE-LABlab(62.85, 40.55, -42.98)
CIE-LCHlch(62.85, 59.09, 313.34°)
OKLaboklab(69.63% 0.0966 -0.1196)
OKLCHoklch(69.63% 0.154 308.9)
XYZxyz(41.8669, 31.4103, 77.9708)
Luminance0.3141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B980E5 #ACE580
analogous
#8680E5 #B980E5 #E580DF
triadic
#B980E5 #E5B980 #80E5B9
tetradic
#B980E5 #E58680 #ACE580 #80DFE5
square
#B980E5 #E58680 #ACE580 #80DFE5
split-complementary
#B980E5 #DFE580 #80E586
monochromatic
#7F28C3 #9D4DDB #B980E5 #D5B3EF #F1E6FA

Accessibility & contrast

On white

2.88
#B980E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#B980E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B980E5
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B980E5#FFFFFF#000000##000000
##B980E51.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6996E9
Deuteranopia (green-blind)
#7799E2
Tritanopia (blue-blind)
#B390A8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b980e5;
/* rgb */ color: rgb(185, 128, 229);
/* oklch */ color: oklch(69.6% 0.154 308.9);
Tailwind
colors: {
  custom: {
    50: '#d0a6ed',
    500: '#b980e5',
    950: '#000000',
  },
}
SCSS
$custom: #b980e5;
$custom-light: #d0a6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b980e5",
  "rgb": {
    "r": 185,
    "g": 128,
    "b": 229
  },
  "hsl": {
    "h": 273.861,
    "s": 66.013,
    "l": 70
  },
  "oklch": {
    "l": 0.69631,
    "c": 0.15376,
    "h": 308.9
  },
  "luminance": 0.3141
}

Semantic roles & 50–950 ramp

primary
#B980E5
secondary
#DFEFD2
accent
#CE1867
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B980E5

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

Preview Lab → · Contrast checker → · Palette generator →

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