#C97EE2#C97EE2

#C97EE2 is a light, vivid purple. Relative luminance 0.328; OKLCH L 70.9% C 0.160 H 317.3°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#C97EE2
RGBrgb(201, 126, 226)
HSLhsl(285, 63%, 69%)
HSVhsv(285, 44%, 89%)
CMYKcmyk(11.1%, 44.2%, 0%, 11.4%)
CIE-LABlab(64.02, 45.55, -39.35)
CIE-LCHlch(64.02, 60.20, 319.18°)
OKLaboklab(70.85% 0.1178 -0.1088)
OKLCHoklch(70.85% 0.16 317.3)
XYZxyz(45.2738, 32.8316, 75.8890)
Luminance0.3283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97EE2 #97E27E
analogous
#977EE2 #C97EE2 #E27EC9
triadic
#C97EE2 #E2C97E #7EE2C9
tetradic
#C97EE2 #E2977E #97E27E #7EC9E2
square
#C97EE2 #E2977E #97E27E #7EC9E2
split-complementary
#C97EE2 #C9E27E #7EE297
monochromatic
#972ABB #B44CD7 #C97EE2 #DEB0ED #F3E2F8

Accessibility & contrast

On white

2.78
#C97EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#C97EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97EE2
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97EE2#FFFFFF#000000##000000
##C97EE21.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D96E6
Deuteranopia (green-blind)
#819EDF
Tritanopia (blue-blind)
#C98CA5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c97ee2;
/* rgb */ color: rgb(201, 126, 226);
/* oklch */ color: oklch(70.9% 0.160 317.3);
Tailwind
colors: {
  custom: {
    50: '#dba5eb',
    500: '#c97ee2',
    950: '#000000',
  },
}
SCSS
$custom: #c97ee2;
$custom-light: #dba5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c97ee2",
  "rgb": {
    "r": 201,
    "g": 126,
    "b": 226
  },
  "hsl": {
    "h": 285,
    "s": 63.291,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70851,
    "c": 0.16036,
    "h": 317.3
  },
  "luminance": 0.3283
}

Semantic roles & 50–950 ramp

primary
#C97EE2
secondary
#D7EDCF
accent
#CB1A47
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C97EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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