#C97DDE#C97DDE

#C97DDE is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.5% C 0.158 H 318.7°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#C97DDE
RGBrgb(201, 125, 222)
HSLhsl(287, 60%, 68%)
HSVhsv(287, 44%, 87%)
CMYKcmyk(9.5%, 43.7%, 0%, 12.9%)
CIE-LABlab(63.64, 45.28, -37.73)
CIE-LCHlch(63.64, 58.94, 320.20°)
OKLaboklab(70.51% 0.1186 -0.1041)
OKLCHoklch(70.51% 0.158 318.7)
XYZxyz(44.6041, 32.3601, 72.9896)
Luminance0.3236 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97DDE #92DE7D
analogous
#987DDE #C97DDE #DE7DC3
triadic
#C97DDE #DEC97D #7DDEC9
tetradic
#C97DDE #DE987D #92DE7D #7DC3DE
square
#C97DDE #DE987D #92DE7D #7DC3DE
split-complementary
#C97DDE #C3DE7D #7DDE98
monochromatic
#962DB3 #B54CD2 #C97DDE #DDAEEA #F2DFF7

Accessibility & contrast

On white

2.81
#C97DDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#C97DDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97DDE
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97DDE#FFFFFF#000000##000000
##C97DDE1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E95E1
Deuteranopia (green-blind)
#829DDB
Tritanopia (blue-blind)
#C98AA3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c97dde;
/* rgb */ color: rgb(201, 125, 222);
/* oklch */ color: oklch(70.5% 0.158 318.7);
Tailwind
colors: {
  custom: {
    50: '#dba4e8',
    500: '#c97dde',
    950: '#000000',
  },
}
SCSS
$custom: #c97dde;
$custom-light: #dba4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c97dde",
  "rgb": {
    "r": 201,
    "g": 125,
    "b": 222
  },
  "hsl": {
    "h": 287.01,
    "s": 59.509,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70506,
    "c": 0.15778,
    "h": 318.7
  },
  "luminance": 0.32359
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C97DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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