#C97AF8#C97AF8

#C97AF8 is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.4% C 0.191 H 311.4°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#C97AF8
RGBrgb(201, 122, 248)
HSLhsl(278, 90%, 73%)
HSVhsv(278, 51%, 97%)
CMYKcmyk(19%, 50.8%, 0%, 2.7%)
CIE-LABlab(64.25, 52.22, -51.15)
CIE-LCHlch(64.25, 73.10, 315.59°)
OKLaboklab(71.36% 0.1261 -0.1429)
OKLCHoklch(71.36% 0.191 311.4)
XYZxyz(47.9872, 33.1149, 92.6526)
Luminance0.3311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97AF8 #A9F87A
analogous
#8A7AF8 #C97AF8 #F87AE8
triadic
#C97AF8 #F8C97A #7AF8C9
tetradic
#C97AF8 #F88A7A #A9F87A #7AE8F8
square
#C97AF8 #F88A7A #A9F87A #7AE8F8
split-complementary
#C97AF8 #E8F87A #7AF88A
monochromatic
#980CEB #B140F5 #C97AF8 #E1B4FB #F3E2FD

Accessibility & contrast

On white

2.75
#C97AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#C97AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97AF8
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97AF8#FFFFFF#000000##000000
##C97AF81.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FC
Deuteranopia (green-blind)
#729DF5
Tritanopia (blue-blind)
#C48FAE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c97af8;
/* rgb */ color: rgb(201, 122, 248);
/* oklch */ color: oklch(71.4% 0.191 311.4);
Tailwind
colors: {
  custom: {
    50: '#dca3fb',
    500: '#c97af8',
    950: '#000000',
  },
}
SCSS
$custom: #c97af8;
$custom-light: #dca3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c97af8",
  "rgb": {
    "r": 201,
    "g": 122,
    "b": 248
  },
  "hsl": {
    "h": 277.619,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71362,
    "c": 0.19063,
    "h": 311.4
  },
  "luminance": 0.33114
}

Semantic roles & 50–950 ramp

primary
#C97AF8
secondary
#E1F6D5
accent
#E60056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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