#C97EB3#C97EB3

#C97EB3 is a light, moderate pink. Relative luminance 0.306; OKLCH L 68.8% C 0.115 H 338.5°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#C97EB3
RGBrgb(201, 126, 179)
HSLhsl(318, 41%, 64%)
HSVhsv(318, 37%, 79%)
CMYKcmyk(0%, 37.3%, 10.9%, 21.2%)
CIE-LABlab(62.17, 36.79, -15.80)
CIE-LCHlch(62.17, 40.04, 336.76°)
OKLaboklab(68.84% 0.1069 -0.0422)
OKLCHoklch(68.84% 0.115 338.5)
XYZxyz(39.6849, 30.5960, 46.4544)
Luminance0.3059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97EB3 #7EC994
analogous
#BA7EC9 #C97EB3 #C97E8E
triadic
#C97EB3 #B3C97E #7EB3C9
tetradic
#C97EB3 #C9BA7E #7EC994 #7E8EC9
square
#C97EB3 #C9BA7E #7EC994 #7E8EC9
split-complementary
#C97EB3 #8EC97E #7EC9BA
monochromatic
#903C78 #B7539A #C97EB3 #DBA9CC #EDD4E6

Accessibility & contrast

On white

2.95
#C97EB3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#C97EB3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97EB3
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97EB3#FFFFFF#000000##000000
##C97EB31.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#808FB5
Deuteranopia (green-blind)
#939AB1
Tritanopia (blue-blind)
#D18091
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c97eb3;
/* rgb */ color: rgb(201, 126, 179);
/* oklch */ color: oklch(68.8% 0.115 338.5);
Tailwind
colors: {
  custom: {
    50: '#daa5c9',
    500: '#c97eb3',
    950: '#000000',
  },
}
SCSS
$custom: #c97eb3;
$custom-light: #daa5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c97eb3",
  "rgb": {
    "r": 201,
    "g": 126,
    "b": 179
  },
  "hsl": {
    "h": 317.6,
    "s": 40.984,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68842,
    "c": 0.11488,
    "h": 338.5
  },
  "luminance": 0.30594
}

Semantic roles & 50–950 ramp

primary
#C97EB3
secondary
#C4DECC
accent
#B45831
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #C97EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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