#C97AEE#C97AEE

#C97AEE is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.8% C 0.180 H 314.1°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#C97AEE
RGBrgb(201, 122, 238)
HSLhsl(281, 77%, 71%)
HSVhsv(281, 49%, 93%)
CMYKcmyk(15.5%, 48.7%, 0%, 6.7%)
CIE-LABlab(63.76, 50.11, -46.42)
CIE-LCHlch(63.76, 68.30, 317.19°)
OKLaboklab(70.84% 0.1251 -0.1292)
OKLCHoklch(70.84% 0.18 314.1)
XYZxyz(46.4770, 32.5108, 84.6992)
Luminance0.3251 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97AEE #9FEE7A
analogous
#8F7AEE #C97AEE #EE7AD9
triadic
#C97AEE #EEC97A #7AEEC9
tetradic
#C97AEE #EE8F7A #9FEE7A #7AD9EE
square
#C97AEE #EE8F7A #9FEE7A #7AD9EE
split-complementary
#C97AEE #D9EE7A #7AEE8F
monochromatic
#981BD3 #B344E7 #C97AEE #DFB0F5 #F4E4FC

Accessibility & contrast

On white

2.80
#C97AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#C97AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97AEE
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97AEE#FFFFFF#000000##000000
##C97AEE1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F2
Deuteranopia (green-blind)
#789DEB
Tritanopia (blue-blind)
#C68CA9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c97aee;
/* rgb */ color: rgb(201, 122, 238);
/* oklch */ color: oklch(70.8% 0.180 314.1);
Tailwind
colors: {
  custom: {
    50: '#dba3f4',
    500: '#c97aee',
    950: '#000000',
  },
}
SCSS
$custom: #c97aee;
$custom-light: #dba3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c97aee",
  "rgb": {
    "r": 201,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 280.862,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70838,
    "c": 0.1798,
    "h": 314.1
  },
  "luminance": 0.3251
}

Semantic roles & 50–950 ramp

primary
#C97AEE
secondary
#DCF2D2
accent
#DA0C4E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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