#C97CEE#C97CEE

#C97CEE is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.1% C 0.177 H 313.9°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#C97CEE
RGBrgb(201, 124, 238)
HSLhsl(281, 77%, 71%)
HSVhsv(281, 48%, 93%)
CMYKcmyk(15.5%, 47.9%, 0%, 6.7%)
CIE-LABlab(64.17, 49.07, -45.78)
CIE-LCHlch(64.17, 67.11, 316.99°)
OKLaboklab(71.14% 0.1224 -0.1273)
OKLCHoklch(71.14% 0.177 313.9)
XYZxyz(46.7251, 33.0070, 84.7819)
Luminance0.3301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97CEE #A1EE7C
analogous
#907CEE #C97CEE #EE7CDA
triadic
#C97CEE #EEC97C #7CEEC9
tetradic
#C97CEE #EE907C #A1EE7C #7CDAEE
square
#C97CEE #EE907C #A1EE7C #7CDAEE
split-complementary
#C97CEE #DAEE7C #7CEE90
monochromatic
#981CD4 #B346E7 #C97CEE #DFB2F5 #F4E4FB

Accessibility & contrast

On white

2.76
#C97CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#C97CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97CEE
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97CEE#FFFFFF#000000##000000
##C97CEE1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F2
Deuteranopia (green-blind)
#7A9EEB
Tritanopia (blue-blind)
#C68DAA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c97cee;
/* rgb */ color: rgb(201, 124, 238);
/* oklch */ color: oklch(71.1% 0.177 313.9);
Tailwind
colors: {
  custom: {
    50: '#dba4f4',
    500: '#c97cee',
    950: '#000000',
  },
}
SCSS
$custom: #c97cee;
$custom-light: #dba4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c97cee",
  "rgb": {
    "r": 201,
    "g": 124,
    "b": 238
  },
  "hsl": {
    "h": 280.526,
    "s": 77.027,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71138,
    "c": 0.17659,
    "h": 313.9
  },
  "luminance": 0.33006
}

Semantic roles & 50–950 ramp

primary
#C97CEE
secondary
#DEF2D4
accent
#D90C4F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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