#C97FEE#C97FEE

#C97FEE is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.6% C 0.172 H 313.5°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#C97FEE
RGBrgb(201, 127, 238)
HSLhsl(280, 77%, 72%)
HSVhsv(280, 47%, 93%)
CMYKcmyk(15.5%, 46.6%, 0%, 6.7%)
CIE-LABlab(64.78, 47.50, -44.81)
CIE-LCHlch(64.78, 65.30, 316.67°)
OKLaboklab(71.6% 0.1183 -0.1246)
OKLCHoklch(71.6% 0.172 313.5)
XYZxyz(47.1068, 33.7704, 84.9092)
Luminance0.3377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97FEE #A4EE7F
analogous
#927FEE #C97FEE #EE7FDC
triadic
#C97FEE #EEC97F #7FEEC9
tetradic
#C97FEE #EE927F #A4EE7F #7FDCEE
square
#C97FEE #EE927F #A4EE7F #7FDCEE
split-complementary
#C97FEE #DCEE7F #7FEE92
monochromatic
#981CD6 #B249E7 #C97FEE #E0B5F5 #F4E4FB

Accessibility & contrast

On white

2.71
#C97FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#C97FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97FEE
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97FEE#FFFFFF#000000##000000
##C97FEE1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F2
Deuteranopia (green-blind)
#7C9FEB
Tritanopia (blue-blind)
#C690AB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c97fee;
/* rgb */ color: rgb(201, 127, 238);
/* oklch */ color: oklch(71.6% 0.172 313.5);
Tailwind
colors: {
  custom: {
    50: '#dba6f4',
    500: '#c97fee',
    950: '#000000',
  },
}
SCSS
$custom: #c97fee;
$custom-light: #dba6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c97fee",
  "rgb": {
    "r": 201,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 280,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71595,
    "c": 0.17176,
    "h": 313.5
  },
  "luminance": 0.33769
}

Semantic roles & 50–950 ramp

primary
#C97FEE
secondary
#E0F3D6
accent
#D90D51
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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