#B97FCB#B97FCB

#B97FCB is a light, vivid purple. Relative luminance 0.298; OKLCH L 68.2% C 0.125 H 318.0°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#B97FCB
RGBrgb(185, 127, 203)
HSLhsl(286, 42%, 65%)
HSVhsv(286, 37%, 80%)
CMYKcmyk(8.9%, 37.4%, 0%, 20.4%)
CIE-LABlab(61.49, 35.56, -30.57)
CIE-LCHlch(61.49, 46.89, 319.31°)
OKLaboklab(68.23% 0.0931 -0.0839)
OKLCHoklch(68.23% 0.125 318)
XYZxyz(38.3749, 29.8059, 60.2199)
Luminance0.2980 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97FCB #91CB7F
analogous
#937FCB #B97FCB #CB7FB7
triadic
#B97FCB #CBB97F #7FCBB9
tetradic
#B97FCB #CB937F #91CB7F #7FB7CB
square
#B97FCB #CB937F #91CB7F #7FB7CB
split-complementary
#B97FCB #B7CB7F #7FCB93
monochromatic
#7F3C94 #A153B9 #B97FCB #D1ABDD #E9D6EE

Accessibility & contrast

On white

3.02
#B97FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#B97FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B97FCB
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97FCB#FFFFFF#000000##000000
##B97FCB1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7491CE
Deuteranopia (green-blind)
#8296C9
Tritanopia (blue-blind)
#B9889C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b97fcb;
/* rgb */ color: rgb(185, 127, 203);
/* oklch */ color: oklch(68.2% 0.125 318.0);
Tailwind
colors: {
  custom: {
    50: '#cfa5db',
    500: '#b97fcb',
    950: '#000000',
  },
}
SCSS
$custom: #b97fcb;
$custom-light: #cfa5db;
$custom-dark: #000000;
JSON
{
  "hex": "#b97fcb",
  "rgb": {
    "r": 185,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 285.789,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68228,
    "c": 0.12532,
    "h": 318
  },
  "luminance": 0.29805
}

Semantic roles & 50–950 ramp

primary
#B97FCB
secondary
#CCE0C6
accent
#B53050
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #B97FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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