#C97DEF#C97DEF

#C97DEF is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.3% C 0.176 H 313.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#C97DEF
RGBrgb(201, 125, 239)
HSLhsl(280, 78%, 71%)
HSVhsv(280, 48%, 94%)
CMYKcmyk(15.9%, 47.7%, 0%, 6.3%)
CIE-LABlab(64.42, 48.76, -45.94)
CIE-LCHlch(64.42, 66.99, 316.71°)
OKLaboklab(71.34% 0.1211 -0.1278)
OKLCHoklch(71.34% 0.176 313.5)
XYZxyz(46.9984, 33.3179, 85.5998)
Luminance0.3332 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97DEF #A3EF7D
analogous
#907DEF #C97DEF #EF7DDC
triadic
#C97DEF #EFC97D #7DEFC9
tetradic
#C97DEF #EF907D #A3EF7D #7DDCEF
square
#C97DEF #EF907D #A3EF7D #7DDCEF
split-complementary
#C97DEF #DCEF7D #7DEF90
monochromatic
#981AD7 #B247E8 #C97DEF #E0B3F6 #F4E4FC

Accessibility & contrast

On white

2.74
#C97DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#C97DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97DEF
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97DEF#FFFFFF#000000##000000
##C97DEF1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F3
Deuteranopia (green-blind)
#7A9EEC
Tritanopia (blue-blind)
#C68EAB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c97def;
/* rgb */ color: rgb(201, 125, 239);
/* oklch */ color: oklch(71.3% 0.176 313.5);
Tailwind
colors: {
  custom: {
    50: '#dba5f4',
    500: '#c97def',
    950: '#000000',
  },
}
SCSS
$custom: #c97def;
$custom-light: #dba5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c97def",
  "rgb": {
    "r": 201,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 280,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.7134,
    "c": 0.17608,
    "h": 313.5
  },
  "luminance": 0.33317
}

Semantic roles & 50–950 ramp

primary
#C97DEF
secondary
#DFF3D5
accent
#DA0B50
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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