#B981FD#B981FD

#B981FD is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.1% C 0.181 H 302.9°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#B981FD
RGBrgb(185, 129, 253)
HSLhsl(267, 97%, 75%)
HSVhsv(267, 49%, 99%)
CMYKcmyk(26.9%, 49%, 0%, 0.8%)
CIE-LABlab(64.25, 45.48, -54.02)
CIE-LCHlch(64.25, 70.62, 310.10°)
OKLaboklab(71.06% 0.0983 -0.1517)
OKLCHoklch(71.06% 0.181 302.9)
XYZxyz(45.5835, 33.1067, 96.8982)
Luminance0.3311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B981FD #C5FD81
analogous
#8187FD #B981FD #F781FD
triadic
#B981FD #FDB981 #81FDB9
tetradic
#B981FD #FD8187 #C5FD81 #81FDF7
square
#B981FD #FD8187 #C5FD81 #81FDF7
split-complementary
#B981FD #FDF781 #87FD81
monochromatic
#7609FB #9845FC #B981FD #DABDFE #EEE1FF

Accessibility & contrast

On white

2.76
#B981FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#B981FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B981FD
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B981FD#FFFFFF#000000##000000
##B981FD1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#6A9BFA
Tritanopia (blue-blind)
#AD97B3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b981fd;
/* rgb */ color: rgb(185, 129, 253);
/* oklch */ color: oklch(71.1% 0.181 302.9);
Tailwind
colors: {
  custom: {
    50: '#d1a7fe',
    500: '#b981fd',
    950: '#000000',
  },
}
SCSS
$custom: #b981fd;
$custom-light: #d1a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b981fd",
  "rgb": {
    "r": 185,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 267.097,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71057,
    "c": 0.18078,
    "h": 302.9
  },
  "luminance": 0.33107
}

Semantic roles & 50–950 ramp

primary
#B981FD
secondary
#E7F7D4
accent
#E6007E
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B981FD

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

Preview Lab → · Contrast checker → · Palette generator →

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