#C97DE2#C97DE2

#C97DE2 is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.7% C 0.162 H 317.4°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#C97DE2
RGBrgb(201, 125, 226)
HSLhsl(285, 64%, 69%)
HSVhsv(285, 45%, 89%)
CMYKcmyk(11.1%, 44.7%, 0%, 11.4%)
CIE-LABlab(63.82, 46.08, -39.68)
CIE-LCHlch(63.82, 60.81, 319.27°)
OKLaboklab(70.7% 0.1192 -0.1097)
OKLCHoklch(70.7% 0.162 317.4)
XYZxyz(45.1465, 32.5771, 75.8466)
Luminance0.3258 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97DE2 #96E27D
analogous
#977DE2 #C97DE2 #E27DC9
triadic
#C97DE2 #E2C97D #7DE2C9
tetradic
#C97DE2 #E2977D #96E27D #7DC9E2
square
#C97DE2 #E2977D #96E27D #7DC9E2
split-complementary
#C97DE2 #C9E27D #7DE297
monochromatic
#972ABB #B44BD7 #C97DE2 #DEAFED #F3E1F8

Accessibility & contrast

On white

2.79
#C97DE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#C97DE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97DE2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97DE2#FFFFFF#000000##000000
##C97DE21.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C96E6
Deuteranopia (green-blind)
#809DDF
Tritanopia (blue-blind)
#C98BA5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c97de2;
/* rgb */ color: rgb(201, 125, 226);
/* oklch */ color: oklch(70.7% 0.162 317.4);
Tailwind
colors: {
  custom: {
    50: '#dba4eb',
    500: '#c97de2',
    950: '#000000',
  },
}
SCSS
$custom: #c97de2;
$custom-light: #dba4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c97de2",
  "rgb": {
    "r": 201,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 285.149,
    "s": 63.522,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70697,
    "c": 0.16202,
    "h": 317.4
  },
  "luminance": 0.32576
}

Semantic roles & 50–950 ramp

primary
#C97DE2
secondary
#D6ECCE
accent
#CB1A46
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C97DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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