#C97AF7#C97AF7

#C97AF7 is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.3% C 0.190 H 311.7°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#C97AF7
RGBrgb(201, 122, 247)
HSLhsl(278, 89%, 72%)
HSVhsv(278, 51%, 97%)
CMYKcmyk(18.6%, 50.6%, 0%, 3.1%)
CIE-LABlab(64.20, 52.00, -50.68)
CIE-LCHlch(64.20, 72.62, 315.74°)
OKLaboklab(71.31% 0.126 -0.1416)
OKLCHoklch(71.31% 0.19 311.7)
XYZxyz(47.8324, 33.0530, 91.8378)
Luminance0.3305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97AF7 #A8F77A
analogous
#8B7AF7 #C97AF7 #F77AE6
triadic
#C97AF7 #F7C97A #7AF7C9
tetradic
#C97AF7 #F78B7A #A8F77A #7AE6F7
square
#C97AF7 #F78B7A #A8F77A #7AE6F7
split-complementary
#C97AF7 #E6F77A #7AF78B
monochromatic
#980EE9 #B240F4 #C97AF7 #E0B4FA #F3E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C97AF7#FFFFFF#000000##000000
##C97AF71.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)
#5A98FB
Deuteranopia (green-blind)
#739DF4
Tritanopia (blue-blind)
#C48FAD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c97af7;
/* rgb */ color: rgb(201, 122, 247);
/* oklch */ color: oklch(71.3% 0.190 311.7);
Tailwind
colors: {
  custom: {
    50: '#dca3fa',
    500: '#c97af7',
    950: '#000000',
  },
}
SCSS
$custom: #c97af7;
$custom-light: #dca3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c97af7",
  "rgb": {
    "r": 201,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 277.92,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71309,
    "c": 0.18955,
    "h": 311.7
  },
  "luminance": 0.33052
}

Semantic roles & 50–950 ramp

primary
#C97AF7
secondary
#E1F5D6
accent
#E50055
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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