#C97ECA#C97ECA

#C97ECA is a light, vivid purple. Relative luminance 0.316; OKLCH L 69.8% C 0.136 H 326.5°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#C97ECA
RGBrgb(201, 126, 202)
HSLhsl(299, 42%, 64%)
HSVhsv(299, 38%, 79%)
CMYKcmyk(0.5%, 37.6%, 0%, 20.8%)
CIE-LABlab(63.02, 40.88, -27.50)
CIE-LCHlch(63.02, 49.27, 326.07°)
OKLaboklab(69.76% 0.113 -0.0749)
OKLCHoklch(69.76% 0.136 326.5)
XYZxyz(42.2080, 31.6053, 59.7428)
Luminance0.3160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97ECA #7FCA7E
analogous
#A37ECA #C97ECA #CA7EA5
triadic
#C97ECA #CAC97E #7ECAC9
tetradic
#C97ECA #CAA37E #7FCA7E #7EA5CA
square
#C97ECA #CAA37E #7FCA7E #7EA5CA
split-complementary
#C97ECA #A5CA7E #7ECAA3
monochromatic
#913C92 #B753B8 #C97ECA #DBA9DC #EDD5EE

Accessibility & contrast

On white

2.87
#C97ECA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#C97ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97ECA
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97ECA#FFFFFF#000000##000000
##C97ECA1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7892CD
Deuteranopia (green-blind)
#8B9CC7
Tritanopia (blue-blind)
#CD859B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c97eca;
/* rgb */ color: rgb(201, 126, 202);
/* oklch */ color: oklch(69.8% 0.136 326.5);
Tailwind
colors: {
  custom: {
    50: '#dba5da',
    500: '#c97eca',
    950: '#000000',
  },
}
SCSS
$custom: #c97eca;
$custom-light: #dba5da;
$custom-dark: #000000;
JSON
{
  "hex": "#c97eca",
  "rgb": {
    "r": 201,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 299.211,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69764,
    "c": 0.13557,
    "h": 326.5
  },
  "luminance": 0.31603
}

Semantic roles & 50–950 ramp

primary
#C97ECA
secondary
#C5DFC5
accent
#B53132
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #C97ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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