#B978CA#B978CA

#B978CA is a light, vivid purple. Relative luminance 0.280; OKLCH L 67.0% C 0.136 H 319.1°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#B978CA
RGBrgb(185, 120, 202)
HSLhsl(288, 44%, 63%)
HSVhsv(288, 41%, 79%)
CMYKcmyk(8.4%, 40.6%, 0%, 20.8%)
CIE-LABlab(59.90, 39.18, -32.47)
CIE-LCHlch(59.90, 50.89, 320.35°)
OKLaboklab(67.02% 0.1032 -0.0893)
OKLCHoklch(67.02% 0.136 319.1)
XYZxyz(37.3833, 28.0127, 59.3034)
Luminance0.2801 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B978CA #89CA78
analogous
#9078CA #B978CA #CA78B2
triadic
#B978CA #CAB978 #78CAB9
tetradic
#B978CA #CA9078 #89CA78 #78B2CA
square
#B978CA #CA9078 #89CA78 #78B2CA
split-complementary
#B978CA #B2CA78 #78CA90
monochromatic
#7D388F #A24CB9 #B978CA #D0A4DB #E7D0ED

Accessibility & contrast

On white

3.18
#B978CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#B978CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B978CA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B978CA#FFFFFF#000000##000000
##B978CA1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8CCD
Deuteranopia (green-blind)
#7D93C8
Tritanopia (blue-blind)
#BA8297
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b978ca;
/* rgb */ color: rgb(185, 120, 202);
/* oklch */ color: oklch(67.0% 0.136 319.1);
Tailwind
colors: {
  custom: {
    50: '#cfa0da',
    500: '#b978ca',
    950: '#000000',
  },
}
SCSS
$custom: #b978ca;
$custom-light: #cfa0da;
$custom-dark: #000000;
JSON
{
  "hex": "#b978ca",
  "rgb": {
    "r": 185,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 287.561,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67019,
    "c": 0.13646,
    "h": 319.1
  },
  "luminance": 0.28011
}

Semantic roles & 50–950 ramp

primary
#B978CA
secondary
#C6DEC0
accent
#B72F4B
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#140F15
muted
#827E83

Preview Lab

Preview with #B978CA

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

Preview Lab → · Contrast checker → · Palette generator →

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