#B981CA#B981CA

#B981CA is a light, vivid purple. Relative luminance 0.303; OKLCH L 68.5% C 0.121 H 318.1°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#B981CA
RGBrgb(185, 129, 202)
HSLhsl(286, 41%, 65%)
HSVhsv(286, 36%, 79%)
CMYKcmyk(8.4%, 36.1%, 0%, 20.8%)
CIE-LABlab(61.90, 34.25, -29.38)
CIE-LCHlch(61.90, 45.12, 319.38°)
OKLaboklab(68.52% 0.0899 -0.0805)
OKLCHoklch(68.52% 0.121 318.1)
XYZxyz(38.5170, 30.2801, 59.6813)
Luminance0.3028 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B981CA #92CA81
analogous
#9481CA #B981CA #CA81B7
triadic
#B981CA #CAB981 #81CAB9
tetradic
#B981CA #CA9481 #92CA81 #81B7CA
square
#B981CA #CA9481 #92CA81 #81B7CA
split-complementary
#B981CA #B7CA81 #81CA94
monochromatic
#7F3E93 #A156B8 #B981CA #D1ACDC #E9D7EE

Accessibility & contrast

On white

2.98
#B981CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#B981CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B981CA
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B981CA#FFFFFF#000000##000000
##B981CA1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7792CD
Deuteranopia (green-blind)
#8497C8
Tritanopia (blue-blind)
#B98A9C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b981ca;
/* rgb */ color: rgb(185, 129, 202);
/* oklch */ color: oklch(68.5% 0.121 318.1);
Tailwind
colors: {
  custom: {
    50: '#cfa6da',
    500: '#b981ca',
    950: '#000000',
  },
}
SCSS
$custom: #b981ca;
$custom-light: #cfa6da;
$custom-dark: #000000;
JSON
{
  "hex": "#b981ca",
  "rgb": {
    "r": 185,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 286.027,
    "s": 40.782,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68523,
    "c": 0.12066,
    "h": 318.1
  },
  "luminance": 0.30279
}

Semantic roles & 50–950 ramp

primary
#B981CA
secondary
#CDE0C7
accent
#B43250
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#140F15
muted
#827F83

Preview Lab

Preview with #B981CA

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

Preview Lab → · Contrast checker → · Palette generator →

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