#B978CD#B978CD

#B978CD is a light, vivid purple. Relative luminance 0.282; OKLCH L 67.2% C 0.140 H 318.0°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#B978CD
RGBrgb(185, 120, 205)
HSLhsl(286, 46%, 64%)
HSVhsv(286, 41%, 80%)
CMYKcmyk(9.8%, 41.5%, 0%, 19.6%)
CIE-LABlab(60.03, 39.79, -33.96)
CIE-LCHlch(60.03, 52.32, 319.52°)
OKLaboklab(67.16% 0.1038 -0.0936)
OKLCHoklch(67.16% 0.14 318)
XYZxyz(37.7420, 28.1561, 61.1923)
Luminance0.2816 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B978CD #8CCD78
analogous
#8E78CD #B978CD #CD78B6
triadic
#B978CD #CDB978 #78CDB9
tetradic
#B978CD #CD8E78 #8CCD78 #78B6CD
square
#B978CD #CD8E78 #8CCD78 #78B6CD
split-complementary
#B978CD #B6CD78 #78CD8E
monochromatic
#7E3794 #A24BBC #B978CD #D0A5DE #E7D1EE

Accessibility & contrast

On white

3.17
#B978CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#B978CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B978CD
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B978CD#FFFFFF#000000##000000
##B978CD1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8CD0
Deuteranopia (green-blind)
#7C93CA
Tritanopia (blue-blind)
#B98399
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b978cd;
/* rgb */ color: rgb(185, 120, 205);
/* oklch */ color: oklch(67.2% 0.140 318.0);
Tailwind
colors: {
  custom: {
    50: '#cfa0dc',
    500: '#b978cd',
    950: '#000000',
  },
}
SCSS
$custom: #b978cd;
$custom-light: #cfa0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b978cd",
  "rgb": {
    "r": 185,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 285.882,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67159,
    "c": 0.13974,
    "h": 318
  },
  "luminance": 0.28155
}

Semantic roles & 50–950 ramp

primary
#B978CD
secondary
#C8DFC1
accent
#B92C4D
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140F15
muted
#827E83

Preview Lab

Preview with #B978CD

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

Preview Lab → · Contrast checker → · Palette generator →

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