#B978CE#B978CE

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

Color values

HEX#B978CE
RGBrgb(185, 120, 206)
HSLhsl(285, 47%, 64%)
HSVhsv(285, 42%, 81%)
CMYKcmyk(10.2%, 41.7%, 0%, 19.2%)
CIE-LABlab(60.07, 40.00, -34.46)
CIE-LCHlch(60.07, 52.79, 319.26°)
OKLaboklab(67.21% 0.104 -0.095)
OKLCHoklch(67.21% 0.141 317.6)
XYZxyz(37.8631, 28.2046, 61.8301)
Luminance0.2820 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B978CE #8DCE78
analogous
#8E78CE #B978CE #CE78B8
triadic
#B978CE #CEB978 #78CEB9
tetradic
#B978CE #CE8E78 #8DCE78 #78B8CE
square
#B978CE #CE8E78 #8DCE78 #78B8CE
split-complementary
#B978CE #B8CE78 #78CE8E
monochromatic
#7E3695 #A24BBE #B978CE #D0A5DE #E8D2EF

Accessibility & contrast

On white

3.16
#B978CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#B978CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B978CE
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B978CE#FFFFFF#000000##000000
##B978CE1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b978ce;
/* rgb */ color: rgb(185, 120, 206);
/* oklch */ color: oklch(67.2% 0.141 317.6);
Tailwind
colors: {
  custom: {
    50: '#cfa0dd',
    500: '#b978ce',
    950: '#000000',
  },
}
SCSS
$custom: #b978ce;
$custom-light: #cfa0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b978ce",
  "rgb": {
    "r": 185,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 285.349,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67206,
    "c": 0.14085,
    "h": 317.6
  },
  "luminance": 0.28203
}

Semantic roles & 50–950 ramp

primary
#B978CE
secondary
#C9E0C2
accent
#BA2C4E
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140F15
muted
#827E83

Preview Lab

Preview with #B978CE

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

Preview Lab → · Contrast checker → · Palette generator →

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