#C97CEF#C97CEF

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

Color values

HEX#C97CEF
RGBrgb(201, 124, 239)
HSLhsl(280, 78%, 71%)
HSVhsv(280, 48%, 94%)
CMYKcmyk(15.9%, 48.1%, 0%, 6.3%)
CIE-LABlab(64.21, 49.28, -46.26)
CIE-LCHlch(64.21, 67.59, 316.81°)
OKLaboklab(71.19% 0.1225 -0.1287)
OKLCHoklch(71.19% 0.178 313.6)
XYZxyz(46.8725, 33.0659, 85.5578)
Luminance0.3306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97CEF #A2EF7C
analogous
#8F7CEF #C97CEF #EF7CDB
triadic
#C97CEF #EFC97C #7CEFC9
tetradic
#C97CEF #EF8F7C #A2EF7C #7CDBEF
square
#C97CEF #EF8F7C #A2EF7C #7CDBEF
split-complementary
#C97CEF #DBEF7C #7CEF8F
monochromatic
#981AD6 #B345E8 #C97CEF #DFB3F6 #F4E4FC

Accessibility & contrast

On white

2.76
#C97CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#C97CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97CEF
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97CEF#FFFFFF#000000##000000
##C97CEF1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F3
Deuteranopia (green-blind)
#799EEC
Tritanopia (blue-blind)
#C68EAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c97cef;
/* rgb */ color: rgb(201, 124, 239);
/* oklch */ color: oklch(71.2% 0.178 313.6);
Tailwind
colors: {
  custom: {
    50: '#dba4f5',
    500: '#c97cef',
    950: '#000000',
  },
}
SCSS
$custom: #c97cef;
$custom-light: #dba4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c97cef",
  "rgb": {
    "r": 201,
    "g": 124,
    "b": 239
  },
  "hsl": {
    "h": 280.174,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71189,
    "c": 0.17769,
    "h": 313.6
  },
  "luminance": 0.33065
}

Semantic roles & 50–950 ramp

primary
#C97CEF
secondary
#DEF3D4
accent
#DA0B50
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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