#C97FED#C97FED

#C97FED is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.5% C 0.171 H 313.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#C97FED
RGBrgb(201, 127, 237)
HSLhsl(280, 75%, 71%)
HSVhsv(280, 46%, 93%)
CMYKcmyk(15.2%, 46.4%, 0%, 7.1%)
CIE-LABlab(64.73, 47.29, -44.33)
CIE-LCHlch(64.73, 64.82, 316.85°)
OKLaboklab(71.54% 0.1181 -0.1232)
OKLCHoklch(71.54% 0.171 313.8)
XYZxyz(46.9603, 33.7118, 84.1376)
Luminance0.3371 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97FED #A3ED7F
analogous
#927FED #C97FED #ED7FDA
triadic
#C97FED #EDC97F #7FEDC9
tetradic
#C97FED #ED927F #A3ED7F #7FDAED
square
#C97FED #ED927F #A3ED7F #7FDAED
split-complementary
#C97FED #DAED7F #7FED92
monochromatic
#981ED4 #B249E5 #C97FED #E0B5F5 #F4E4FB

Accessibility & contrast

On white

2.71
#C97FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#C97FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97FED
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97FED#FFFFFF#000000##000000
##C97FED1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F1
Deuteranopia (green-blind)
#7D9FEA
Tritanopia (blue-blind)
#C68FAB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c97fed;
/* rgb */ color: rgb(201, 127, 237);
/* oklch */ color: oklch(71.5% 0.171 313.8);
Tailwind
colors: {
  custom: {
    50: '#dba6f3',
    500: '#c97fed',
    950: '#000000',
  },
}
SCSS
$custom: #c97fed;
$custom-light: #dba6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c97fed",
  "rgb": {
    "r": 201,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 280.364,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71544,
    "c": 0.17066,
    "h": 313.8
  },
  "luminance": 0.33711
}

Semantic roles & 50–950 ramp

primary
#C97FED
secondary
#DFF2D6
accent
#D80E50
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97FED

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

Preview Lab → · Contrast checker → · Palette generator →

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