#C97AEA#C97AEA

#C97AEA is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.6% C 0.175 H 315.2°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#C97AEA
RGBrgb(201, 122, 234)
HSLhsl(282, 73%, 70%)
HSVhsv(282, 48%, 92%)
CMYKcmyk(14.1%, 47.9%, 0%, 8.2%)
CIE-LABlab(63.57, 49.28, -44.50)
CIE-LCHlch(63.57, 66.40, 317.92°)
OKLaboklab(70.64% 0.1246 -0.1236)
OKLCHoklch(70.64% 0.176 315.2)
XYZxyz(45.8959, 32.2784, 81.6386)
Luminance0.3228 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97AEA #9BEA7A
analogous
#917AEA #C97AEA #EA7AD3
triadic
#C97AEA #EAC97A #7AEAC9
tetradic
#C97AEA #EA917A #9BEA7A #7AD3EA
square
#C97AEA #EA917A #9BEA7A #7AD3EA
split-complementary
#C97AEA #D3EA7A #7AEA91
monochromatic
#9820CA #B445E2 #C97AEA #DEAFF2 #F4E4FB

Accessibility & contrast

On white

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

On black

7.46
#C97AEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97AEA
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97AEA#FFFFFF#000000##000000
##C97AEA1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6395EE
Deuteranopia (green-blind)
#7A9CE7
Tritanopia (blue-blind)
#C78BA7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c97aea;
/* rgb */ color: rgb(201, 122, 234);
/* oklch */ color: oklch(70.6% 0.175 315.2);
Tailwind
colors: {
  custom: {
    50: '#dba3f1',
    500: '#c97aea',
    950: '#000000',
  },
}
SCSS
$custom: #c97aea;
$custom-light: #dba3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c97aea",
  "rgb": {
    "r": 201,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 282.321,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70635,
    "c": 0.1755,
    "h": 315.2
  },
  "luminance": 0.32277
}

Semantic roles & 50–950 ramp

primary
#C97AEA
secondary
#D9F0D0
accent
#D5114A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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