#C97DCC#C97DCC

#C97DCC is a light, vivid purple. Relative luminance 0.314; OKLCH L 69.7% C 0.139 H 325.6°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#C97DCC
RGBrgb(201, 125, 204)
HSLhsl(298, 44%, 65%)
HSVhsv(298, 39%, 80%)
CMYKcmyk(1.5%, 38.7%, 0%, 20%)
CIE-LABlab(62.88, 41.79, -28.83)
CIE-LCHlch(62.88, 50.77, 325.40°)
OKLaboklab(69.69% 0.1149 -0.0787)
OKLCHoklch(69.69% 0.139 325.6)
XYZxyz(42.3191, 31.4461, 60.9556)
Luminance0.3144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97DCC #80CC7D
analogous
#A27DCC #C97DCC #CC7DA7
triadic
#C97DCC #CCC97D #7DCCC9
tetradic
#C97DCC #CCA27D #80CC7D #7DA7CC
square
#C97DCC #CCA27D #80CC7D #7DA7CC
split-complementary
#C97DCC #A7CC7D #7DCCA2
monochromatic
#913A94 #B751BB #C97DCC #DBA9DD #EED5EE

Accessibility & contrast

On white

2.88
#C97DCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#C97DCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97DCC
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97DCC#FFFFFF#000000##000000
##C97DCC1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7692CF
Deuteranopia (green-blind)
#8A9CC9
Tritanopia (blue-blind)
#CD859B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c97dcc;
/* rgb */ color: rgb(201, 125, 204);
/* oklch */ color: oklch(69.7% 0.139 325.6);
Tailwind
colors: {
  custom: {
    50: '#dba4db',
    500: '#c97dcc',
    950: '#000000',
  },
}
SCSS
$custom: #c97dcc;
$custom-light: #dba4db;
$custom-dark: #000000;
JSON
{
  "hex": "#c97dcc",
  "rgb": {
    "r": 201,
    "g": 125,
    "b": 204
  },
  "hsl": {
    "h": 297.722,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6969,
    "c": 0.13929,
    "h": 325.6
  },
  "luminance": 0.31444
}

Semantic roles & 50–950 ramp

primary
#C97DCC
secondary
#C6E0C5
accent
#B72F34
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #C97DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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