#C97CF7#C97CF7

#C97CF7 is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.6% C 0.186 H 311.4°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#C97CF7
RGBrgb(201, 124, 247)
HSLhsl(278, 88%, 73%)
HSVhsv(278, 50%, 97%)
CMYKcmyk(18.6%, 49.8%, 0%, 3.1%)
CIE-LABlab(64.60, 50.97, -50.05)
CIE-LCHlch(64.60, 71.43, 315.52°)
OKLaboklab(71.6% 0.1234 -0.1398)
OKLCHoklch(71.6% 0.186 311.4)
XYZxyz(48.0805, 33.5492, 91.9205)
Luminance0.3355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97CF7 #AAF77C
analogous
#8B7CF7 #C97CF7 #F77CE7
triadic
#C97CF7 #F7C97C #7CF7C9
tetradic
#C97CF7 #F78B7C #AAF77C #7CE7F7
square
#C97CF7 #F78B7C #AAF77C #7CE7F7
split-complementary
#C97CF7 #E7F77C #7CF78B
monochromatic
#980EEA #B142F3 #C97CF7 #E1B6FB #F3E2FD

Accessibility & contrast

On white

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

On black

7.71
#C97CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97CF7
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97CF7#FFFFFF#000000##000000
##C97CF71.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D99FB
Deuteranopia (green-blind)
#749EF4
Tritanopia (blue-blind)
#C490AE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c97cf7;
/* rgb */ color: rgb(201, 124, 247);
/* oklch */ color: oklch(71.6% 0.186 311.4);
Tailwind
colors: {
  custom: {
    50: '#dca4fa',
    500: '#c97cf7',
    950: '#000000',
  },
}
SCSS
$custom: #c97cf7;
$custom-light: #dca4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c97cf7",
  "rgb": {
    "r": 201,
    "g": 124,
    "b": 247
  },
  "hsl": {
    "h": 277.561,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71604,
    "c": 0.18642,
    "h": 311.4
  },
  "luminance": 0.33548
}

Semantic roles & 50–950 ramp

primary
#C97CF7
secondary
#E2F5D6
accent
#E50056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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