#C97CF9#C97CF9

#C97CF9 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.7% C 0.189 H 310.9°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#C97CF9
RGBrgb(201, 124, 249)
HSLhsl(277, 91%, 73%)
HSVhsv(277, 50%, 98%)
CMYKcmyk(19.3%, 50.2%, 0%, 2.4%)
CIE-LABlab(64.70, 51.39, -50.99)
CIE-LCHlch(64.70, 72.40, 315.22°)
OKLaboklab(71.71% 0.1236 -0.1425)
OKLCHoklch(71.71% 0.189 310.9)
XYZxyz(48.3908, 33.6733, 93.5546)
Luminance0.3367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97CF9 #ACF97C
analogous
#8A7CF9 #C97CF9 #F97CEA
triadic
#C97CF9 #F9C97C #7CF9C9
tetradic
#C97CF9 #F98A7C #ACF97C #7CEAF9
square
#C97CF9 #F98A7C #ACF97C #7CEAF9
split-complementary
#C97CF9 #EAF97C #7CF98A
monochromatic
#980BF0 #B141F6 #C97CF9 #E1B7FC #F3E2FE

Accessibility & contrast

On white

2.72
#C97CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#C97CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97CF9
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97CF9#FFFFFF#000000##000000
##C97CF91.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C99FD
Deuteranopia (green-blind)
#739EF6
Tritanopia (blue-blind)
#C391AF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c97cf9;
/* rgb */ color: rgb(201, 124, 249);
/* oklch */ color: oklch(71.7% 0.189 310.9);
Tailwind
colors: {
  custom: {
    50: '#dca4fc',
    500: '#c97cf9',
    950: '#000000',
  },
}
SCSS
$custom: #c97cf9;
$custom-light: #dca4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c97cf9",
  "rgb": {
    "r": 201,
    "g": 124,
    "b": 249
  },
  "hsl": {
    "h": 276.96,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.7171,
    "c": 0.18861,
    "h": 310.9
  },
  "luminance": 0.33672
}

Semantic roles & 50–950 ramp

primary
#C97CF9
secondary
#E2F6D5
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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