#B980FA#B980FA

#B980FA is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.7% C 0.179 H 303.7°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#B980FA
RGBrgb(185, 128, 250)
HSLhsl(268, 92%, 74%)
HSVhsv(268, 49%, 98%)
CMYKcmyk(26%, 48.8%, 0%, 2%)
CIE-LABlab(63.88, 45.32, -52.95)
CIE-LCHlch(63.88, 69.70, 310.56°)
OKLaboklab(70.73% 0.0993 -0.1486)
OKLCHoklch(70.73% 0.179 303.7)
XYZxyz(44.9783, 32.6549, 94.3574)
Luminance0.3266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B980FA #C1FA80
analogous
#8084FA #B980FA #F680FA
triadic
#B980FA #FAB980 #80FAB9
tetradic
#B980FA #FA8084 #C1FA80 #80FAF6
square
#B980FA #FA8084 #C1FA80 #80FAF6
split-complementary
#B980FA #FAF680 #84FA80
monochromatic
#780AF5 #9945F8 #B980FA #D9BBFC #EFE2FE

Accessibility & contrast

On white

2.79
#B980FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#B980FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B980FA
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B980FA#FFFFFF#000000##000000
##B980FA1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B99FE
Deuteranopia (green-blind)
#6B9BF7
Tritanopia (blue-blind)
#AE96B1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b980fa;
/* rgb */ color: rgb(185, 128, 250);
/* oklch */ color: oklch(70.7% 0.179 303.7);
Tailwind
colors: {
  custom: {
    50: '#d1a6fc',
    500: '#b980fa',
    950: '#000000',
  },
}
SCSS
$custom: #b980fa;
$custom-light: #d1a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b980fa",
  "rgb": {
    "r": 185,
    "g": 128,
    "b": 250
  },
  "hsl": {
    "h": 268.033,
    "s": 92.424,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70734,
    "c": 0.17874,
    "h": 303.7
  },
  "luminance": 0.32655
}

Semantic roles & 50–950 ramp

primary
#B980FA
secondary
#E7F6D5
accent
#E6007A
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B980FA

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

Preview Lab → · Contrast checker → · Palette generator →

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