#C97AEF#C97AEF

#C97AEF is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.9% C 0.181 H 313.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#C97AEF
RGBrgb(201, 122, 239)
HSLhsl(281, 79%, 71%)
HSVhsv(281, 49%, 94%)
CMYKcmyk(15.9%, 49%, 0%, 6.3%)
CIE-LABlab(63.81, 50.32, -46.89)
CIE-LCHlch(63.81, 68.78, 317.02°)
OKLaboklab(70.89% 0.1252 -0.1306)
OKLCHoklch(70.89% 0.181 313.8)
XYZxyz(46.6243, 32.5697, 85.4751)
Luminance0.3257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97AEF #A0EF7A
analogous
#8E7AEF #C97AEF #EF7ADA
triadic
#C97AEF #EFC97A #7AEFC9
tetradic
#C97AEF #EF8E7A #A0EF7A #7ADAEF
square
#C97AEF #EF8E7A #A0EF7A #7ADAEF
split-complementary
#C97AEF #DAEF7A #7AEF8E
monochromatic
#981AD5 #B343E8 #C97AEF #DFB1F6 #F4E4FC

Accessibility & contrast

On white

2.79
#C97AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#C97AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97AEF
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97AEF#FFFFFF#000000##000000
##C97AEF1.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F3
Deuteranopia (green-blind)
#779DEC
Tritanopia (blue-blind)
#C68CAA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c97aef;
/* rgb */ color: rgb(201, 122, 239);
/* oklch */ color: oklch(70.9% 0.181 313.8);
Tailwind
colors: {
  custom: {
    50: '#dca3f5',
    500: '#c97aef',
    950: '#000000',
  },
}
SCSS
$custom: #c97aef;
$custom-light: #dca3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c97aef",
  "rgb": {
    "r": 201,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 280.513,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7089,
    "c": 0.18088,
    "h": 313.8
  },
  "luminance": 0.32569
}

Semantic roles & 50–950 ramp

primary
#C97AEF
secondary
#DDF2D3
accent
#DB0B4E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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