#C97CD7#C97CD7

#C97CD7 is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.0% C 0.152 H 321.3°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#C97CD7
RGBrgb(201, 124, 215)
HSLhsl(291, 53%, 66%)
HSVhsv(291, 42%, 84%)
CMYKcmyk(6.5%, 42.3%, 0%, 15.7%)
CIE-LABlab(63.13, 44.43, -34.62)
CIE-LCHlch(63.13, 56.32, 322.07°)
OKLaboklab(70.02% 0.1187 -0.0952)
OKLCHoklch(70.02% 0.152 321.3)
XYZxyz(43.5594, 31.7407, 68.1088)
Luminance0.3174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97CD7 #8AD77C
analogous
#9C7CD7 #C97CD7 #D77CB8
triadic
#C97CD7 #D7C97C #7CD7C9
tetradic
#C97CD7 #D79C7C #8AD77C #7CB8D7
square
#C97CD7 #D79C7C #8AD77C #7CB8D7
split-complementary
#C97CD7 #B8D77C #7CD79C
monochromatic
#9433A6 #B64DC9 #C97CD7 #DCABE5 #F0DAF4

Accessibility & contrast

On white

2.86
#C97CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#C97CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97CD7
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97CD7#FFFFFF#000000##000000
##C97CD71.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7093DA
Deuteranopia (green-blind)
#859CD4
Tritanopia (blue-blind)
#CB879F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c97cd7;
/* rgb */ color: rgb(201, 124, 215);
/* oklch */ color: oklch(70.0% 0.152 321.3);
Tailwind
colors: {
  custom: {
    50: '#dba4e3',
    500: '#c97cd7',
    950: '#000000',
  },
}
SCSS
$custom: #c97cd7;
$custom-light: #dba4e3;
$custom-dark: #000000;
JSON
{
  "hex": "#c97cd7",
  "rgb": {
    "r": 201,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 290.769,
    "s": 53.216,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70024,
    "c": 0.15214,
    "h": 321.3
  },
  "luminance": 0.31739
}

Semantic roles & 50–950 ramp

primary
#C97CD7
secondary
#CDE6C9
accent
#C1253D
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #C97CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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