#C97EC2#C97EC2

#C97EC2 is a light, vivid purple. Relative luminance 0.312; OKLCH L 69.4% C 0.128 H 330.2°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#C97EC2
RGBrgb(201, 126, 194)
HSLhsl(306, 41%, 64%)
HSVhsv(306, 37%, 79%)
CMYKcmyk(0%, 37.3%, 3.5%, 21.2%)
CIE-LABlab(62.71, 39.41, -23.47)
CIE-LCHlch(62.71, 45.87, 329.23°)
OKLaboklab(69.43% 0.111 -0.0635)
OKLCHoklch(69.43% 0.128 330.2)
XYZxyz(41.2853, 31.2362, 54.8830)
Luminance0.3123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97EC2 #7EC985
analogous
#AB7EC9 #C97EC2 #C97E9D
triadic
#C97EC2 #C2C97E #7EC2C9
tetradic
#C97EC2 #C9AB7E #7EC985 #7E9DC9
square
#C97EC2 #C9AB7E #7EC985 #7E9DC9
split-complementary
#C97EC2 #9DC97E #7EC9AB
monochromatic
#903C88 #B753AE #C97EC2 #DBA9D6 #EDD4EB

Accessibility & contrast

On white

2.90
#C97EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#C97EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97EC2
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97EC2#FFFFFF#000000##000000
##C97EC21.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B91C5
Deuteranopia (green-blind)
#8E9BC0
Tritanopia (blue-blind)
#CF8397
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c97ec2;
/* rgb */ color: rgb(201, 126, 194);
/* oklch */ color: oklch(69.4% 0.128 330.2);
Tailwind
colors: {
  custom: {
    50: '#dba5d4',
    500: '#c97ec2',
    950: '#000000',
  },
}
SCSS
$custom: #c97ec2;
$custom-light: #dba5d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c97ec2",
  "rgb": {
    "r": 201,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 305.6,
    "s": 40.984,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6943,
    "c": 0.12792,
    "h": 330.2
  },
  "luminance": 0.31234
}

Semantic roles & 50–950 ramp

primary
#C97EC2
secondary
#C4DEC7
accent
#B43E31
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #C97EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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