#C97EDE#C97EDE

#C97EDE is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.7% C 0.156 H 318.6°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#C97EDE
RGBrgb(201, 126, 222)
HSLhsl(287, 59%, 68%)
HSVhsv(287, 43%, 87%)
CMYKcmyk(9.5%, 43.2%, 0%, 12.9%)
CIE-LABlab(63.85, 44.75, -37.40)
CIE-LCHlch(63.85, 58.32, 320.11°)
OKLaboklab(70.66% 0.1171 -0.1032)
OKLCHoklch(70.66% 0.156 318.6)
XYZxyz(44.7313, 32.6146, 73.0320)
Luminance0.3261 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97EDE #93DE7E
analogous
#997EDE #C97EDE #DE7EC3
triadic
#C97EDE #DEC97E #7EDEC9
tetradic
#C97EDE #DE997E #93DE7E #7EC3DE
square
#C97EDE #DE997E #93DE7E #7EC3DE
split-complementary
#C97EDE #C3DE7E #7EDE99
monochromatic
#962EB4 #B54DD2 #C97EDE #DDAFEA #F2DFF7

Accessibility & contrast

On white

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

On black

7.52
#C97EDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97EDE
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97EDE#FFFFFF#000000##000000
##C97EDE1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F96E1
Deuteranopia (green-blind)
#839DDB
Tritanopia (blue-blind)
#C98BA4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c97ede;
/* rgb */ color: rgb(201, 126, 222);
/* oklch */ color: oklch(70.7% 0.156 318.6);
Tailwind
colors: {
  custom: {
    50: '#dba5e8',
    500: '#c97ede',
    950: '#000000',
  },
}
SCSS
$custom: #c97ede;
$custom-light: #dba5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c97ede",
  "rgb": {
    "r": 201,
    "g": 126,
    "b": 222
  },
  "hsl": {
    "h": 286.875,
    "s": 59.259,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70662,
    "c": 0.15609,
    "h": 318.6
  },
  "luminance": 0.32613
}

Semantic roles & 50–950 ramp

primary
#C97EDE
secondary
#D4EACD
accent
#C71F43
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C97EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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