#B97FCA#B97FCA

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

Color values

HEX#B97FCA
RGBrgb(185, 127, 202)
HSLhsl(286, 41%, 65%)
HSVhsv(286, 37%, 79%)
CMYKcmyk(8.4%, 37.1%, 0%, 20.8%)
CIE-LABlab(61.45, 35.35, -30.07)
CIE-LCHlch(61.45, 46.41, 319.61°)
OKLaboklab(68.18% 0.0928 -0.0825)
OKLCHoklch(68.18% 0.124 318.4)
XYZxyz(38.2562, 29.7583, 59.5944)
Luminance0.2976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97FCA #90CA7F
analogous
#947FCA #B97FCA #CA7FB6
triadic
#B97FCA #CAB97F #7FCAB9
tetradic
#B97FCA #CA947F #90CA7F #7FB6CA
square
#B97FCA #CA947F #90CA7F #7FB6CA
split-complementary
#B97FCA #B6CA7F #7FCA94
monochromatic
#7F3C92 #A154B8 #B97FCA #D1AADC #E8D6EE

Accessibility & contrast

On white

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

On black

6.95
#B97FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B97FCA
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97FCA#FFFFFF#000000##000000
##B97FCA1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7591CD
Deuteranopia (green-blind)
#8396C8
Tritanopia (blue-blind)
#B9889B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b97fca;
/* rgb */ color: rgb(185, 127, 202);
/* oklch */ color: oklch(68.2% 0.124 318.4);
Tailwind
colors: {
  custom: {
    50: '#cfa5da',
    500: '#b97fca',
    950: '#000000',
  },
}
SCSS
$custom: #b97fca;
$custom-light: #cfa5da;
$custom-dark: #000000;
JSON
{
  "hex": "#b97fca",
  "rgb": {
    "r": 185,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 286.4,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68183,
    "c": 0.1242,
    "h": 318.4
  },
  "luminance": 0.29757
}

Semantic roles & 50–950 ramp

primary
#B97FCA
secondary
#CBDFC5
accent
#B4314F
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#140F15
muted
#827F83

Preview Lab

Preview with #B97FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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