#B980E8#B980E8

#B980E8 is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.8% C 0.157 H 308.1°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#B980E8
RGBrgb(185, 128, 232)
HSLhsl(273, 69%, 71%)
HSVhsv(273, 45%, 91%)
CMYKcmyk(20.3%, 44.8%, 0%, 9%)
CIE-LABlab(62.99, 41.22, -44.42)
CIE-LCHlch(62.99, 60.60, 312.86°)
OKLaboklab(69.78% 0.0971 -0.1238)
OKLCHoklch(69.78% 0.157 308.1)
XYZxyz(42.2894, 31.5793, 80.1959)
Luminance0.3158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B980E8 #AFE880
analogous
#8580E8 #B980E8 #E880E3
triadic
#B980E8 #E8B980 #80E8B9
tetradic
#B980E8 #E88580 #AFE880 #80E3E8
square
#B980E8 #E88580 #AFE880 #80E3E8
split-complementary
#B980E8 #E3E880 #80E885
monochromatic
#7F24C9 #9C4CDF #B980E8 #D6B4F1 #F1E5FA

Accessibility & contrast

On white

2.87
#B980E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#B980E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B980E8
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B980E8#FFFFFF#000000##000000
##B980E81.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6796EC
Deuteranopia (green-blind)
#7699E5
Tritanopia (blue-blind)
#B391A9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b980e8;
/* rgb */ color: rgb(185, 128, 232);
/* oklch */ color: oklch(69.8% 0.157 308.1);
Tailwind
colors: {
  custom: {
    50: '#d0a6f0',
    500: '#b980e8',
    950: '#000000',
  },
}
SCSS
$custom: #b980e8;
$custom-light: #d0a6f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b980e8",
  "rgb": {
    "r": 185,
    "g": 128,
    "b": 232
  },
  "hsl": {
    "h": 272.885,
    "s": 69.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69783,
    "c": 0.15732,
    "h": 308.1
  },
  "luminance": 0.31579
}

Semantic roles & 50–950 ramp

primary
#B980E8
secondary
#E1F0D4
accent
#D1146A
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B980E8

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

Preview Lab → · Contrast checker → · Palette generator →

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