#B97EC2#B97EC2

#B97EC2 is a light, moderate purple. Relative luminance 0.291; OKLCH L 67.7% C 0.117 H 322.0°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#B97EC2
RGBrgb(185, 126, 194)
HSLhsl(292, 36%, 63%)
HSVhsv(292, 35%, 76%)
CMYKcmyk(4.6%, 35.1%, 0%, 23.9%)
CIE-LABlab(60.90, 34.30, -26.40)
CIE-LCHlch(60.90, 43.28, 322.41°)
OKLaboklab(67.66% 0.0924 -0.0721)
OKLCHoklch(67.66% 0.117 322)
XYZxyz(37.2049, 29.1322, 54.6917)
Luminance0.2913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97EC2 #87C27E
analogous
#977EC2 #B97EC2 #C27EA9
triadic
#B97EC2 #C2B97E #7EC2B9
tetradic
#B97EC2 #C2977E #87C27E #7EA9C2
square
#B97EC2 #C2977E #87C27E #7EA9C2
split-complementary
#B97EC2 #A9C27E #7EC297
monochromatic
#7D3F86 #A254AE #B97EC2 #D0A8D6 #E6D1E9

Accessibility & contrast

On white

3.08
#B97EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#B97EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B97EC2
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97EC2#FFFFFF#000000##000000
##B97EC21.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#778FC5
Deuteranopia (green-blind)
#8595C0
Tritanopia (blue-blind)
#BB8597
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b97ec2;
/* rgb */ color: rgb(185, 126, 194);
/* oklch */ color: oklch(67.7% 0.117 322.0);
Tailwind
colors: {
  custom: {
    50: '#cfa4d4',
    500: '#b97ec2',
    950: '#000000',
  },
}
SCSS
$custom: #b97ec2;
$custom-light: #cfa4d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b97ec2",
  "rgb": {
    "r": 185,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 292.059,
    "s": 35.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.67663,
    "c": 0.11719,
    "h": 322
  },
  "luminance": 0.29131
}

Semantic roles & 50–950 ramp

primary
#B97EC2
secondary
#C5DAC2
accent
#AF3747
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#140F14
muted
#827F83

Preview Lab

Preview with #B97EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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