#C97EDD#C97EDD

#C97EDD is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.6% C 0.155 H 319.0°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#C97EDD
RGBrgb(201, 126, 221)
HSLhsl(287, 58%, 68%)
HSVhsv(287, 43%, 87%)
CMYKcmyk(9%, 43%, 0%, 13.3%)
CIE-LABlab(63.80, 44.55, -36.91)
CIE-LCHlch(63.80, 57.86, 320.36°)
OKLaboklab(70.62% 0.1169 -0.1018)
OKLCHoklch(70.62% 0.155 319)
XYZxyz(44.5977, 32.5611, 72.3283)
Luminance0.3256 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97EDD #92DD7E
analogous
#997EDD #C97EDD #DD7EC2
triadic
#C97EDD #DDC97E #7EDDC9
tetradic
#C97EDD #DD997E #92DD7E #7EC2DD
square
#C97EDD #DD997E #92DD7E #7EC2DD
split-complementary
#C97EDD #C2DD7E #7EDD99
monochromatic
#962FB2 #B54ED0 #C97EDD #DDAEEA #F2DFF7

Accessibility & contrast

On white

2.80
#C97EDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#C97EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97EDD
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97EDD#FFFFFF#000000##000000
##C97EDD1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F95E0
Deuteranopia (green-blind)
#849DDA
Tritanopia (blue-blind)
#CA8AA3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c97edd;
/* rgb */ color: rgb(201, 126, 221);
/* oklch */ color: oklch(70.6% 0.155 319.0);
Tailwind
colors: {
  custom: {
    50: '#dba5e8',
    500: '#c97edd',
    950: '#000000',
  },
}
SCSS
$custom: #c97edd;
$custom-light: #dba5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c97edd",
  "rgb": {
    "r": 201,
    "g": 126,
    "b": 221
  },
  "hsl": {
    "h": 287.368,
    "s": 58.282,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70615,
    "c": 0.15503,
    "h": 319
  },
  "luminance": 0.3256
}

Semantic roles & 50–950 ramp

primary
#C97EDD
secondary
#D3EACD
accent
#C62043
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C97EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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