#C97CE8#C97CE8

#C97CE8 is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.8% C 0.170 H 315.6°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#C97CE8
RGBrgb(201, 124, 232)
HSLhsl(283, 70%, 70%)
HSVhsv(283, 47%, 91%)
CMYKcmyk(13.4%, 46.6%, 0%, 9%)
CIE-LABlab(63.88, 47.83, -42.90)
CIE-LCHlch(63.88, 64.25, 318.11°)
OKLaboklab(70.84% 0.1215 -0.119)
OKLCHoklch(70.84% 0.17 315.6)
XYZxyz(45.8583, 32.6603, 80.2166)
Luminance0.3266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97CE8 #9BE87C
analogous
#937CE8 #C97CE8 #E87CD1
triadic
#C97CE8 #E8C97C #7CE8C9
tetradic
#C97CE8 #E8937C #9BE87C #7CD1E8
square
#C97CE8 #E8937C #9BE87C #7CD1E8
split-complementary
#C97CE8 #D1E87C #7CE893
monochromatic
#9823C7 #B448DF #C97CE8 #DEB0F1 #F4E4FA

Accessibility & contrast

On white

2.79
#C97CE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#C97CE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97CE8
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97CE8#FFFFFF#000000##000000
##C97CE81.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6796EC
Deuteranopia (green-blind)
#7D9DE5
Tritanopia (blue-blind)
#C78CA7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c97ce8;
/* rgb */ color: rgb(201, 124, 232);
/* oklch */ color: oklch(70.8% 0.170 315.6);
Tailwind
colors: {
  custom: {
    50: '#dba4f0',
    500: '#c97ce8',
    950: '#000000',
  },
}
SCSS
$custom: #c97ce8;
$custom-light: #dba4f0;
$custom-dark: #000000;
JSON
{
  "hex": "#c97ce8",
  "rgb": {
    "r": 201,
    "g": 124,
    "b": 232
  },
  "hsl": {
    "h": 282.778,
    "s": 70.13,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70837,
    "c": 0.1701,
    "h": 315.6
  },
  "luminance": 0.32659
}

Semantic roles & 50–950 ramp

primary
#C97CE8
secondary
#D9EFD1
accent
#D2134A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C97CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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