#C97CDC#C97CDC

#C97CDC is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.3% C 0.157 H 319.5°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#C97CDC
RGBrgb(201, 124, 220)
HSLhsl(288, 58%, 67%)
HSVhsv(288, 44%, 86%)
CMYKcmyk(8.6%, 43.6%, 0%, 13.7%)
CIE-LABlab(63.34, 45.41, -37.07)
CIE-LCHlch(63.34, 58.62, 320.77°)
OKLaboklab(70.26% 0.1196 -0.1022)
OKLCHoklch(70.26% 0.157 319.5)
XYZxyz(44.2117, 32.0016, 71.5443)
Luminance0.3200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97CDC #8FDC7C
analogous
#997CDC #C97CDC #DC7CBF
triadic
#C97CDC #DCC97C #7CDCC9
tetradic
#C97CDC #DC997C #8FDC7C #7CBFDC
square
#C97CDC #DC997C #8FDC7C #7CBFDC
split-complementary
#C97CDC #BFDC7C #7CDC99
monochromatic
#962FAF #B54CCF #C97CDC #DDACE9 #F1DDF6

Accessibility & contrast

On white

2.84
#C97CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#C97CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97CDC
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97CDC#FFFFFF#000000##000000
##C97CDC1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E94DF
Deuteranopia (green-blind)
#829CD9
Tritanopia (blue-blind)
#CA88A2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c97cdc;
/* rgb */ color: rgb(201, 124, 220);
/* oklch */ color: oklch(70.3% 0.157 319.5);
Tailwind
colors: {
  custom: {
    50: '#dba4e7',
    500: '#c97cdc',
    950: '#000000',
  },
}
SCSS
$custom: #c97cdc;
$custom-light: #dba4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c97cdc",
  "rgb": {
    "r": 201,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 288.125,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70257,
    "c": 0.15734,
    "h": 319.5
  },
  "luminance": 0.32
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C97CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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