#C97DBD#C97DBD

#C97DBD is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.1% C 0.125 H 332.7°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#C97DBD
RGBrgb(201, 125, 189)
HSLhsl(309, 41%, 64%)
HSVhsv(309, 38%, 79%)
CMYKcmyk(0%, 37.8%, 6%, 21.2%)
CIE-LABlab(62.31, 39.05, -21.25)
CIE-LCHlch(62.31, 44.46, 331.44°)
OKLaboklab(69.07% 0.1112 -0.0573)
OKLCHoklch(69.07% 0.125 332.7)
XYZxyz(40.6059, 30.7609, 51.9328)
Luminance0.3076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97DBD #7DC989
analogous
#AF7DC9 #C97DBD #C97D97
triadic
#C97DBD #BDC97D #7DBDC9
tetradic
#C97DBD #C9AF7D #7DC989 #7D97C9
square
#C97DBD #C9AF7D #7DC989 #7D97C9
split-complementary
#C97DBD #97C97D #7DC9AF
monochromatic
#903C83 #B752A7 #C97DBD #DBA8D3 #EDD3E9

Accessibility & contrast

On white

2.94
#C97DBD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#C97DBD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97DBD
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97DBD#FFFFFF#000000##000000
##C97DBD1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C90BF
Deuteranopia (green-blind)
#8F9BBB
Tritanopia (blue-blind)
#CF8195
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c97dbd;
/* rgb */ color: rgb(201, 125, 189);
/* oklch */ color: oklch(69.1% 0.125 332.7);
Tailwind
colors: {
  custom: {
    50: '#dba4d1',
    500: '#c97dbd',
    950: '#000000',
  },
}
SCSS
$custom: #c97dbd;
$custom-light: #dba4d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c97dbd",
  "rgb": {
    "r": 201,
    "g": 125,
    "b": 189
  },
  "hsl": {
    "h": 309.474,
    "s": 41.304,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69066,
    "c": 0.12514,
    "h": 332.7
  },
  "luminance": 0.30759
}

Semantic roles & 50–950 ramp

primary
#C97DBD
secondary
#C4DEC8
accent
#B44631
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #C97DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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