#C97ECF#C97ECF

#C97ECF is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.0% C 0.141 H 324.3°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#C97ECF
RGBrgb(201, 126, 207)
HSLhsl(296, 46%, 65%)
HSVhsv(296, 39%, 81%)
CMYKcmyk(2.9%, 39.1%, 0%, 18.8%)
CIE-LABlab(63.22, 41.82, -30.00)
CIE-LCHlch(63.22, 51.47, 324.35°)
OKLaboklab(69.98% 0.1141 -0.082)
OKLCHoklch(69.98% 0.141 324.3)
XYZxyz(42.8096, 31.8459, 62.9112)
Luminance0.3184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97ECF #84CF7E
analogous
#A17ECF #C97ECF #CF7EAC
triadic
#C97ECF #CFC97E #7ECFC9
tetradic
#C97ECF #CFA17E #84CF7E #7EACCF
square
#C97ECF #CFA17E #84CF7E #7EACCF
split-complementary
#C97ECF #ACCF7E #7ECFA1
monochromatic
#923999 #B651BE #C97ECF #DCABE0 #EED7F0

Accessibility & contrast

On white

2.85
#C97ECF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#C97ECF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97ECF
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97ECF#FFFFFF#000000##000000
##C97ECF1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7693D2
Deuteranopia (green-blind)
#899CCC
Tritanopia (blue-blind)
#CC879D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c97ecf;
/* rgb */ color: rgb(201, 126, 207);
/* oklch */ color: oklch(70.0% 0.141 324.3);
Tailwind
colors: {
  custom: {
    50: '#dba5de',
    500: '#c97ecf',
    950: '#000000',
  },
}
SCSS
$custom: #c97ecf;
$custom-light: #dba5de;
$custom-dark: #000000;
JSON
{
  "hex": "#c97ecf",
  "rgb": {
    "r": 201,
    "g": 126,
    "b": 207
  },
  "hsl": {
    "h": 295.556,
    "s": 45.763,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6998,
    "c": 0.14055,
    "h": 324.3
  },
  "luminance": 0.31844
}

Semantic roles & 50–950 ramp

primary
#C97ECF
secondary
#C9E2C7
accent
#B92D37
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #C97ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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