#B980F2#B980F2

#B980F2 is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.3% C 0.169 H 305.6°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#B980F2
RGBrgb(185, 128, 242)
HSLhsl(270, 81%, 73%)
HSVhsv(270, 47%, 95%)
CMYKcmyk(23.6%, 47.1%, 0%, 5.1%)
CIE-LABlab(63.48, 43.48, -49.19)
CIE-LCHlch(63.48, 65.65, 311.47°)
OKLaboklab(70.3% 0.0984 -0.1376)
OKLCHoklch(70.3% 0.169 305.6)
XYZxyz(43.7504, 32.1637, 87.8906)
Luminance0.3216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B980F2 #B9F280
analogous
#8080F2 #B980F2 #F280F2
triadic
#B980F2 #F2B980 #80F2B9
tetradic
#B980F2 #F28080 #B9F280 #80F2F2
square
#B980F2 #F28080 #B9F280 #80F2F2
split-complementary
#B980F2 #F2F280 #80F280
monochromatic
#7C17E1 #9A48EC #B980F2 #D8B8F8 #F0E3FC

Accessibility & contrast

On white

2.83
#B980F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#B980F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B980F2
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B980F2#FFFFFF#000000##000000
##B980F21.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#709AEF
Tritanopia (blue-blind)
#B093AE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b980f2;
/* rgb */ color: rgb(185, 128, 242);
/* oklch */ color: oklch(70.3% 0.169 305.6);
Tailwind
colors: {
  custom: {
    50: '#d0a6f7',
    500: '#b980f2',
    950: '#000000',
  },
}
SCSS
$custom: #b980f2;
$custom-light: #d0a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b980f2",
  "rgb": {
    "r": 185,
    "g": 128,
    "b": 242
  },
  "hsl": {
    "h": 270,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70303,
    "c": 0.16922,
    "h": 305.6
  },
  "luminance": 0.32163
}

Semantic roles & 50–950 ramp

primary
#B980F2
secondary
#E6F4D7
accent
#DE0873
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B980F2

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

Preview Lab → · Contrast checker → · Palette generator →

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