#C97EEE#C97EEE

#C97EEE is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.4% C 0.173 H 313.6°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#C97EEE
RGBrgb(201, 126, 238)
HSLhsl(280, 77%, 71%)
HSVhsv(280, 47%, 93%)
CMYKcmyk(15.5%, 47.1%, 0%, 6.7%)
CIE-LABlab(64.57, 48.02, -45.14)
CIE-LCHlch(64.57, 65.91, 316.77°)
OKLaboklab(71.44% 0.1196 -0.1255)
OKLCHoklch(71.44% 0.173 313.6)
XYZxyz(46.9783, 33.5134, 84.8663)
Luminance0.3351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97EEE #A3EE7E
analogous
#917EEE #C97EEE #EE7EDB
triadic
#C97EEE #EEC97E #7EEEC9
tetradic
#C97EEE #EE917E #A3EE7E #7EDBEE
square
#C97EEE #EE917E #A3EE7E #7EDBEE
split-complementary
#C97EEE #DBEE7E #7EEE91
monochromatic
#981CD5 #B248E7 #C97EEE #E0B4F5 #F4E4FB

Accessibility & contrast

On white

2.73
#C97EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#C97EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97EEE
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97EEE#FFFFFF#000000##000000
##C97EEE1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F2
Deuteranopia (green-blind)
#7B9FEB
Tritanopia (blue-blind)
#C68FAB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c97eee;
/* rgb */ color: rgb(201, 126, 238);
/* oklch */ color: oklch(71.4% 0.173 313.6);
Tailwind
colors: {
  custom: {
    50: '#dba5f4',
    500: '#c97eee',
    950: '#000000',
  },
}
SCSS
$custom: #c97eee;
$custom-light: #dba5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c97eee",
  "rgb": {
    "r": 201,
    "g": 126,
    "b": 238
  },
  "hsl": {
    "h": 280.179,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71442,
    "c": 0.17338,
    "h": 313.6
  },
  "luminance": 0.33512
}

Semantic roles & 50–950 ramp

primary
#C97EEE
secondary
#DFF2D5
accent
#D90D50
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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