#C97DDD#C97DDD

#C97DDD is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.5% C 0.157 H 319.1°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#C97DDD
RGBrgb(201, 125, 221)
HSLhsl(288, 59%, 68%)
HSVhsv(288, 43%, 87%)
CMYKcmyk(9%, 43.4%, 0%, 13.3%)
CIE-LABlab(63.60, 45.08, -37.24)
CIE-LCHlch(63.60, 58.47, 320.44°)
OKLaboklab(70.46% 0.1184 -0.1027)
OKLCHoklch(70.46% 0.157 319.1)
XYZxyz(44.4704, 32.3067, 72.2859)
Luminance0.3231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97DDD #91DD7D
analogous
#997DDD #C97DDD #DD7DC1
triadic
#C97DDD #DDC97D #7DDDC9
tetradic
#C97DDD #DD997D #91DD7D #7DC1DD
square
#C97DDD #DD997D #91DD7D #7DC1DD
split-complementary
#C97DDD #C1DD7D #7DDD99
monochromatic
#962EB1 #B54CD0 #C97DDD #DDAEEA #F1DEF6

Accessibility & contrast

On white

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

On black

7.46
#C97DDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97DDD
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97DDD#FFFFFF#000000##000000
##C97DDD1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E95E0
Deuteranopia (green-blind)
#839DDA
Tritanopia (blue-blind)
#CA89A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c97ddd;
/* rgb */ color: rgb(201, 125, 221);
/* oklch */ color: oklch(70.5% 0.157 319.1);
Tailwind
colors: {
  custom: {
    50: '#dba4e8',
    500: '#c97ddd',
    950: '#000000',
  },
}
SCSS
$custom: #c97ddd;
$custom-light: #dba4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c97ddd",
  "rgb": {
    "r": 201,
    "g": 125,
    "b": 221
  },
  "hsl": {
    "h": 287.5,
    "s": 58.537,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70459,
    "c": 0.15671,
    "h": 319.1
  },
  "luminance": 0.32305
}

Semantic roles & 50–950 ramp

primary
#C97DDD
secondary
#D2EACC
accent
#C61F42
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C97DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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