#C97DEC#C97DEC

#C97DEC is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.2% C 0.173 H 314.3°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#C97DEC
RGBrgb(201, 125, 236)
HSLhsl(281, 74%, 71%)
HSVhsv(281, 47%, 93%)
CMYKcmyk(14.8%, 47%, 0%, 7.5%)
CIE-LABlab(64.28, 48.13, -44.50)
CIE-LCHlch(64.28, 65.55, 317.24°)
OKLaboklab(71.19% 0.1207 -0.1236)
OKLCHoklch(71.19% 0.173 314.3)
XYZxyz(46.5589, 33.1420, 83.2850)
Luminance0.3314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97DEC #A0EC7D
analogous
#917DEC #C97DEC #EC7DD7
triadic
#C97DEC #ECC97D #7DECC9
tetradic
#C97DEC #EC917D #A0EC7D #7DD7EC
square
#C97DEC #EC917D #A0EC7D #7DD7EC
split-complementary
#C97DEC #D7EC7D #7DEC91
monochromatic
#981ED0 #B348E4 #C97DEC #DFB2F4 #F4E4FB

Accessibility & contrast

On white

2.75
#C97DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#C97DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97DEC
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97DEC#FFFFFF#000000##000000
##C97DEC1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697F0
Deuteranopia (green-blind)
#7C9EE9
Tritanopia (blue-blind)
#C68EAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c97dec;
/* rgb */ color: rgb(201, 125, 236);
/* oklch */ color: oklch(71.2% 0.173 314.3);
Tailwind
colors: {
  custom: {
    50: '#dba4f2',
    500: '#c97dec',
    950: '#000000',
  },
}
SCSS
$custom: #c97dec;
$custom-light: #dba4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c97dec",
  "rgb": {
    "r": 201,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 281.081,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71189,
    "c": 0.17281,
    "h": 314.3
  },
  "luminance": 0.33141
}

Semantic roles & 50–950 ramp

primary
#C97DEC
secondary
#DDF1D3
accent
#D70F4E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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