#B978CF#B978CF

#B978CF is a light, vivid purple. Relative luminance 0.283; OKLCH L 67.3% C 0.142 H 317.2°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#B978CF
RGBrgb(185, 120, 207)
HSLhsl(285, 48%, 64%)
HSVhsv(285, 42%, 81%)
CMYKcmyk(10.6%, 42%, 0%, 18.8%)
CIE-LABlab(60.12, 40.20, -34.95)
CIE-LCHlch(60.12, 53.27, 319.00°)
OKLaboklab(67.25% 0.1042 -0.0964)
OKLCHoklch(67.25% 0.142 317.2)
XYZxyz(37.9849, 28.2533, 62.4719)
Luminance0.2825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B978CF #8ECF78
analogous
#8E78CF #B978CF #CF78BA
triadic
#B978CF #CFB978 #78CFB9
tetradic
#B978CF #CF8E78 #8ECF78 #78BACF
square
#B978CF #CF8E78 #8ECF78 #78BACF
split-complementary
#B978CF #BACF78 #78CF8E
monochromatic
#7E3697 #A24BBF #B978CF #D0A5DF #E8D2EF

Accessibility & contrast

On white

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

On black

6.65
#B978CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B978CF
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B978CF#FFFFFF#000000##000000
##B978CF1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8DD2
Deuteranopia (green-blind)
#7B93CC
Tritanopia (blue-blind)
#B9849A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b978cf;
/* rgb */ color: rgb(185, 120, 207);
/* oklch */ color: oklch(67.3% 0.142 317.2);
Tailwind
colors: {
  custom: {
    50: '#cfa0de',
    500: '#b978cf',
    950: '#000000',
  },
}
SCSS
$custom: #b978cf;
$custom-light: #cfa0de;
$custom-dark: #000000;
JSON
{
  "hex": "#b978cf",
  "rgb": {
    "r": 185,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 284.828,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67253,
    "c": 0.14195,
    "h": 317.2
  },
  "luminance": 0.28252
}

Semantic roles & 50–950 ramp

primary
#B978CF
secondary
#CAE1C2
accent
#BB2B4F
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140F15
muted
#827E83

Preview Lab

Preview with #B978CF

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

Preview Lab → · Contrast checker → · Palette generator →

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