#C97ECB#C97ECB

#C97ECB is a light, vivid purple. Relative luminance 0.317; OKLCH L 69.8% C 0.137 H 326.0°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#C97ECB
RGBrgb(201, 126, 203)
HSLhsl(298, 43%, 65%)
HSVhsv(298, 38%, 80%)
CMYKcmyk(1%, 37.9%, 0%, 20.4%)
CIE-LABlab(63.05, 41.07, -28.00)
CIE-LCHlch(63.05, 49.71, 325.71°)
OKLaboklab(69.81% 0.1132 -0.0763)
OKLCHoklch(69.81% 0.137 326)
XYZxyz(42.3268, 31.6528, 60.3684)
Luminance0.3165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97ECB #80CB7E
analogous
#A37ECB #C97ECB #CB7EA6
triadic
#C97ECB #CBC97E #7ECBC9
tetradic
#C97ECB #CBA37E #80CB7E #7EA6CB
square
#C97ECB #CBA37E #80CB7E #7EA6CB
split-complementary
#C97ECB #A6CB7E #7ECBA3
monochromatic
#913B93 #B752B9 #C97ECB #DBAADD #EED5EE

Accessibility & contrast

On white

2.86
#C97ECB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#C97ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97ECB
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97ECB#FFFFFF#000000##000000
##C97ECB1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7893CE
Deuteranopia (green-blind)
#8B9CC8
Tritanopia (blue-blind)
#CD869B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c97ecb;
/* rgb */ color: rgb(201, 126, 203);
/* oklch */ color: oklch(69.8% 0.137 326.0);
Tailwind
colors: {
  custom: {
    50: '#dba5db',
    500: '#c97ecb',
    950: '#000000',
  },
}
SCSS
$custom: #c97ecb;
$custom-light: #dba5db;
$custom-dark: #000000;
JSON
{
  "hex": "#c97ecb",
  "rgb": {
    "r": 201,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 298.442,
    "s": 42.541,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69807,
    "c": 0.13655,
    "h": 326
  },
  "luminance": 0.31651
}

Semantic roles & 50–950 ramp

primary
#C97ECB
secondary
#C6E0C5
accent
#B63033
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #C97ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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