#C97CEA#C97CEA

#C97CEA is a light, vivid purple. Relative luminance 0.328; OKLCH L 70.9% C 0.172 H 315.0°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#C97CEA
RGBrgb(201, 124, 234)
HSLhsl(282, 72%, 70%)
HSVhsv(282, 47%, 92%)
CMYKcmyk(14.1%, 47%, 0%, 8.2%)
CIE-LABlab(63.98, 48.24, -43.86)
CIE-LCHlch(63.98, 65.20, 317.72°)
OKLaboklab(70.94% 0.1218 -0.1218)
OKLCHoklch(70.94% 0.172 315)
XYZxyz(46.1440, 32.7746, 81.7213)
Luminance0.3277 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97CEA #9DEA7C
analogous
#927CEA #C97CEA #EA7CD4
triadic
#C97CEA #EAC97C #7CEAC9
tetradic
#C97CEA #EA927C #9DEA7C #7CD4EA
square
#C97CEA #EA927C #9DEA7C #7CD4EA
split-complementary
#C97CEA #D4EA7C #7CEA92
monochromatic
#9821CB #B347E2 #C97CEA #DFB1F2 #F4E5FB

Accessibility & contrast

On white

2.78
#C97CEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#C97CEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97CEA
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97CEA#FFFFFF#000000##000000
##C97CEA1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6696EE
Deuteranopia (green-blind)
#7C9DE7
Tritanopia (blue-blind)
#C78CA8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c97cea;
/* rgb */ color: rgb(201, 124, 234);
/* oklch */ color: oklch(70.9% 0.172 315.0);
Tailwind
colors: {
  custom: {
    50: '#dba4f1',
    500: '#c97cea',
    950: '#000000',
  },
}
SCSS
$custom: #c97cea;
$custom-light: #dba4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c97cea",
  "rgb": {
    "r": 201,
    "g": 124,
    "b": 234
  },
  "hsl": {
    "h": 282,
    "s": 72.368,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70936,
    "c": 0.17227,
    "h": 315
  },
  "luminance": 0.32773
}

Semantic roles & 50–950 ramp

primary
#C97CEA
secondary
#DBF0D2
accent
#D4114C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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