#C97EEA#C97EEA

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

Color values

HEX#C97EEA
RGBrgb(201, 126, 234)
HSLhsl(282, 72%, 71%)
HSVhsv(282, 46%, 92%)
CMYKcmyk(14.1%, 46.2%, 0%, 8.2%)
CIE-LABlab(64.39, 47.19, -43.22)
CIE-LCHlch(64.39, 63.99, 317.52°)
OKLaboklab(71.24% 0.1191 -0.1199)
OKLCHoklch(71.24% 0.169 314.8)
XYZxyz(46.3972, 33.2809, 81.8057)
Luminance0.3328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97EEA #9FEA7E
analogous
#937EEA #C97EEA #EA7ED5
triadic
#C97EEA #EAC97E #7EEAC9
tetradic
#C97EEA #EA937E #9FEA7E #7ED5EA
square
#C97EEA #EA937E #9FEA7E #7ED5EA
split-complementary
#C97EEA #D5EA7E #7EEA93
monochromatic
#9821CC #B349E1 #C97EEA #DFB3F3 #F4E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C97EEA#FFFFFF#000000##000000
##C97EEA1.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)
#6998EE
Deuteranopia (green-blind)
#7D9EE7
Tritanopia (blue-blind)
#C78EA9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c97eea;
/* rgb */ color: rgb(201, 126, 234);
/* oklch */ color: oklch(71.2% 0.169 314.8);
Tailwind
colors: {
  custom: {
    50: '#dba5f1',
    500: '#c97eea',
    950: '#000000',
  },
}
SCSS
$custom: #c97eea;
$custom-light: #dba5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c97eea",
  "rgb": {
    "r": 201,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 281.667,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71242,
    "c": 0.16901,
    "h": 314.8
  },
  "luminance": 0.3328
}

Semantic roles & 50–950 ramp

primary
#C97EEA
secondary
#DCF1D3
accent
#D4114D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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