#C97AFD#C97AFD

#C97AFD is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.6% C 0.196 H 310.2°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#C97AFD
RGBrgb(201, 122, 253)
HSLhsl(276, 97%, 74%)
HSVhsv(276, 52%, 99%)
CMYKcmyk(20.6%, 51.8%, 0%, 0.8%)
CIE-LABlab(64.51, 53.29, -53.50)
CIE-LCHlch(64.51, 75.51, 314.89°)
OKLaboklab(71.63% 0.1266 -0.1498)
OKLCHoklch(71.63% 0.196 310.2)
XYZxyz(48.7732, 33.4293, 96.7926)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97AFD #AEFD7A
analogous
#877AFD #C97AFD #FD7AF0
triadic
#C97AFD #FDC97A #7AFDC9
tetradic
#C97AFD #FD877A #AEFD7A #7AF0FD
square
#C97AFD #FD877A #AEFD7A #7AF0FD
split-complementary
#C97AFD #F0FD7A #7AFD87
monochromatic
#9804F9 #B13EFC #C97AFD #E1B6FE #F3E1FF

Accessibility & contrast

On white

2.73
#C97AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#C97AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97AFD
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97AFD#FFFFFF#000000##000000
##C97AFD1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#6F9EFA
Tritanopia (blue-blind)
#C390B0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c97afd;
/* rgb */ color: rgb(201, 122, 253);
/* oklch */ color: oklch(71.6% 0.196 310.2);
Tailwind
colors: {
  custom: {
    50: '#dca3fe',
    500: '#c97afd',
    950: '#000000',
  },
}
SCSS
$custom: #c97afd;
$custom-light: #dca3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c97afd",
  "rgb": {
    "r": 201,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 276.183,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71631,
    "c": 0.19608,
    "h": 310.2
  },
  "luminance": 0.33428
}

Semantic roles & 50–950 ramp

primary
#C97AFD
secondary
#E2F7D4
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C97AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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