#C97FDA#C97FDA

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

Color values

HEX#C97FDA
RGBrgb(201, 127, 218)
HSLhsl(289, 55%, 68%)
HSVhsv(289, 42%, 85%)
CMYKcmyk(7.8%, 41.7%, 0%, 14.5%)
CIE-LABlab(63.88, 43.43, -35.12)
CIE-LCHlch(63.88, 55.85, 321.04°)
OKLaboklab(70.63% 0.115 -0.0966)
OKLCHoklch(70.63% 0.15 319.9)
XYZxyz(44.3301, 32.6597, 70.2849)
Luminance0.3266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97FDA #90DA7F
analogous
#9B7FDA #C97FDA #DA7FBE
triadic
#C97FDA #DAC97F #7FDAC9
tetradic
#C97FDA #DA9B7F #90DA7F #7FBEDA
square
#C97FDA #DA9B7F #90DA7F #7FBEDA
split-complementary
#C97FDA #BEDA7F #7FDA9B
monochromatic
#9632AD #B550CC #C97FDA #DDAEE8 #F1DEF5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C97FDA#FFFFFF#000000##000000
##C97FDA1.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)
#7296DD
Deuteranopia (green-blind)
#869ED7
Tritanopia (blue-blind)
#CA8AA2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c97fda;
/* rgb */ color: rgb(201, 127, 218);
/* oklch */ color: oklch(70.6% 0.150 319.9);
Tailwind
colors: {
  custom: {
    50: '#dba6e5',
    500: '#c97fda',
    950: '#000000',
  },
}
SCSS
$custom: #c97fda;
$custom-light: #dba6e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c97fda",
  "rgb": {
    "r": 201,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 288.791,
    "s": 55.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70632,
    "c": 0.15017,
    "h": 319.9
  },
  "luminance": 0.32658
}

Semantic roles & 50–950 ramp

primary
#C97FDA
secondary
#D2E9CC
accent
#C32341
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C97FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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