#C97AEC#C97AEC

#C97AEC is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.7% C 0.178 H 314.6°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#C97AEC
RGBrgb(201, 122, 236)
HSLhsl(282, 75%, 70%)
HSVhsv(282, 48%, 93%)
CMYKcmyk(14.8%, 48.3%, 0%, 7.5%)
CIE-LABlab(63.67, 49.70, -45.46)
CIE-LCHlch(63.67, 67.35, 317.55°)
OKLaboklab(70.74% 0.1248 -0.1264)
OKLCHoklch(70.74% 0.178 314.6)
XYZxyz(46.1848, 32.3939, 83.1604)
Luminance0.3239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97AEC #9DEC7A
analogous
#907AEC #C97AEC #EC7AD6
triadic
#C97AEC #ECC97A #7AECC9
tetradic
#C97AEC #EC907A #9DEC7A #7AD6EC
square
#C97AEC #EC907A #9DEC7A #7AD6EC
split-complementary
#C97AEC #D6EC7A #7AEC90
monochromatic
#981DCE #B344E4 #C97AEC #DFB0F4 #F4E4FB

Accessibility & contrast

On white

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

On black

7.48
#C97AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97AEC
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97AEC#FFFFFF#000000##000000
##C97AEC1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F0
Deuteranopia (green-blind)
#799CE9
Tritanopia (blue-blind)
#C78BA8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c97aec;
/* rgb */ color: rgb(201, 122, 236);
/* oklch */ color: oklch(70.7% 0.178 314.6);
Tailwind
colors: {
  custom: {
    50: '#dba3f2',
    500: '#c97aec',
    950: '#000000',
  },
}
SCSS
$custom: #c97aec;
$custom-light: #dba3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c97aec",
  "rgb": {
    "r": 201,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 281.579,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70736,
    "c": 0.17765,
    "h": 314.6
  },
  "luminance": 0.32393
}

Semantic roles & 50–950 ramp

primary
#C97AEC
secondary
#DBF1D1
accent
#D70E4C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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