#C997CD#C997CD

#C997CD is a light, moderate purple. Relative luminance 0.390; OKLCH L 74.1% C 0.094 H 324.0°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#C997CD
RGBrgb(201, 151, 205)
HSLhsl(296, 35%, 70%)
HSVhsv(296, 26%, 80%)
CMYKcmyk(2%, 26.3%, 0%, 19.6%)
CIE-LABlab(68.72, 27.87, -20.44)
CIE-LCHlch(68.72, 34.56, 323.75°)
OKLaboklab(74.13% 0.0761 -0.0553)
OKLCHoklch(74.13% 0.094 324)
XYZxyz(46.1722, 38.9598, 62.8335)
Luminance0.3896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C997CD #9BCD97
analogous
#AE97CD #C997CD #CD97B6
triadic
#C997CD #CDC997 #97CDC9
tetradic
#C997CD #CDAE97 #9BCD97 #97B6CD
square
#C997CD #CDAE97 #9BCD97 #97B6CD
split-complementary
#C997CD #B6CD97 #97CDAE
monochromatic
#984C9E #B46EB9 #C997CD #DEC0E1 #F4EAF5

Accessibility & contrast

On white

2.39
#C997CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#C997CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C997CD
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C997CD#FFFFFF#000000##000000
##C997CD1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A4CF
Deuteranopia (green-blind)
#9EAACB
Tritanopia (blue-blind)
#CB9CAA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c997cd;
/* rgb */ color: rgb(201, 151, 205);
/* oklch */ color: oklch(74.1% 0.094 324.0);
Tailwind
colors: {
  custom: {
    50: '#dab6dc',
    500: '#c997cd',
    950: '#000000',
  },
}
SCSS
$custom: #c997cd;
$custom-light: #dab6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c997cd",
  "rgb": {
    "r": 201,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 295.556,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7413,
    "c": 0.09404,
    "h": 324
  },
  "luminance": 0.38959
}

Semantic roles & 50–950 ramp

primary
#C997CD
secondary
#D9E8D8
accent
#AE3840
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #C997CD

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

Preview Lab → · Contrast checker → · Palette generator →

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