#C97DDB#C97DDB

#C97DDB is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.4% C 0.155 H 319.8°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#C97DDB
RGBrgb(201, 125, 219)
HSLhsl(289, 57%, 67%)
HSVhsv(289, 43%, 86%)
CMYKcmyk(8.2%, 42.9%, 0%, 14.1%)
CIE-LABlab(63.51, 44.68, -36.26)
CIE-LCHlch(63.51, 57.54, 320.94°)
OKLaboklab(70.36% 0.118 -0.0999)
OKLCHoklch(70.36% 0.155 319.8)
XYZxyz(44.2056, 32.2007, 70.8909)
Luminance0.3220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97DDB #8FDB7D
analogous
#9A7DDB #C97DDB #DB7DBE
triadic
#C97DDB #DBC97D #7DDBC9
tetradic
#C97DDB #DB9A7D #8FDB7D #7DBEDB
square
#C97DDB #DB9A7D #8FDB7D #7DBEDB
split-complementary
#C97DDB #BEDB7D #7DDB9A
monochromatic
#9630AE #B54DCE #C97DDB #DDADE8 #F1DDF6

Accessibility & contrast

On white

2.82
#C97DDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#C97DDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97DDB
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97DDB#FFFFFF#000000##000000
##C97DDB1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F95DE
Deuteranopia (green-blind)
#849DD8
Tritanopia (blue-blind)
#CA89A2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c97ddb;
/* rgb */ color: rgb(201, 125, 219);
/* oklch */ color: oklch(70.4% 0.155 319.8);
Tailwind
colors: {
  custom: {
    50: '#dba4e6',
    500: '#c97ddb',
    950: '#000000',
  },
}
SCSS
$custom: #c97ddb;
$custom-light: #dba4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c97ddb",
  "rgb": {
    "r": 201,
    "g": 125,
    "b": 219
  },
  "hsl": {
    "h": 288.511,
    "s": 56.627,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70365,
    "c": 0.15461,
    "h": 319.8
  },
  "luminance": 0.32199
}

Semantic roles & 50–950 ramp

primary
#C97DDB
secondary
#D1E9CB
accent
#C42141
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C97DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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