#B97ECC#B97ECC

#B97ECC is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.1% C 0.128 H 317.7°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#B97ECC
RGBrgb(185, 126, 204)
HSLhsl(285, 43%, 65%)
HSVhsv(285, 38%, 80%)
CMYKcmyk(9.3%, 38.2%, 0%, 20%)
CIE-LABlab(61.30, 36.31, -31.42)
CIE-LCHlch(61.30, 48.02, 319.13°)
OKLaboklab(68.1% 0.0948 -0.0863)
OKLCHoklch(68.1% 0.128 317.7)
XYZxyz(38.3660, 29.5967, 60.8067)
Luminance0.2960 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97ECC #91CC7E
analogous
#927ECC #B97ECC #CC7EB8
triadic
#B97ECC #CCB97E #7ECCB9
tetradic
#B97ECC #CC927E #91CC7E #7EB8CC
square
#B97ECC #CC927E #91CC7E #7EB8CC
split-complementary
#B97ECC #B8CC7E #7ECC92
monochromatic
#7F3B95 #A152BB #B97ECC #D1AADD #E9D6EF

Accessibility & contrast

On white

3.04
#B97ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#B97ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B97ECC
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97ECC#FFFFFF#000000##000000
##B97ECC1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7290CF
Deuteranopia (green-blind)
#8196CA
Tritanopia (blue-blind)
#B9889B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b97ecc;
/* rgb */ color: rgb(185, 126, 204);
/* oklch */ color: oklch(68.1% 0.128 317.7);
Tailwind
colors: {
  custom: {
    50: '#cfa4db',
    500: '#b97ecc',
    950: '#000000',
  },
}
SCSS
$custom: #b97ecc;
$custom-light: #cfa4db;
$custom-dark: #000000;
JSON
{
  "hex": "#b97ecc",
  "rgb": {
    "r": 185,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 285.385,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68104,
    "c": 0.1282,
    "h": 317.7
  },
  "luminance": 0.29596
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B97ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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