#C97FE5#C97FE5

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

Color values

HEX#C97FE5
RGBrgb(201, 127, 229)
HSLhsl(284, 66%, 70%)
HSVhsv(284, 45%, 90%)
CMYKcmyk(12.2%, 44.5%, 0%, 10.2%)
CIE-LABlab(64.37, 45.64, -40.48)
CIE-LCHlch(64.37, 61.00, 318.43°)
OKLaboklab(71.15% 0.1169 -0.112)
OKLCHoklch(71.15% 0.162 316.2)
XYZxyz(45.8175, 33.2547, 78.1188)
Luminance0.3325 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97FE5 #9BE57F
analogous
#967FE5 #C97FE5 #E57FCE
triadic
#C97FE5 #E5C97F #7FE5C9
tetradic
#C97FE5 #E5967F #9BE57F #7FCEE5
square
#C97FE5 #E5967F #9BE57F #7FCEE5
split-complementary
#C97FE5 #CEE57F #7FE596
monochromatic
#9827C2 #B44CDB #C97FE5 #DEB2EF #F4E5FA

Accessibility & contrast

On white

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

On black

7.65
#C97FE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97FE5
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97FE5#FFFFFF#000000##000000
##C97FE51.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D97E9
Deuteranopia (green-blind)
#819EE2
Tritanopia (blue-blind)
#C88DA7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c97fe5;
/* rgb */ color: rgb(201, 127, 229);
/* oklch */ color: oklch(71.2% 0.162 316.2);
Tailwind
colors: {
  custom: {
    50: '#dba6ed',
    500: '#c97fe5',
    950: '#000000',
  },
}
SCSS
$custom: #c97fe5;
$custom-light: #dba6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#c97fe5",
  "rgb": {
    "r": 201,
    "g": 127,
    "b": 229
  },
  "hsl": {
    "h": 283.529,
    "s": 66.234,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71151,
    "c": 0.16193,
    "h": 316.2
  },
  "luminance": 0.33253
}

Semantic roles & 50–950 ramp

primary
#C97FE5
secondary
#D9EED1
accent
#CE174A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C97FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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