#C97DF7#C97DF7

#C97DF7 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.8% C 0.185 H 311.3°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#C97DF7
RGBrgb(201, 125, 247)
HSLhsl(277, 88%, 73%)
HSVhsv(277, 49%, 97%)
CMYKcmyk(18.6%, 49.4%, 0%, 3.1%)
CIE-LABlab(64.80, 50.45, -49.73)
CIE-LCHlch(64.80, 70.84, 315.41°)
OKLaboklab(71.75% 0.1221 -0.1388)
OKLCHoklch(71.75% 0.185 311.3)
XYZxyz(48.2065, 33.8011, 91.9624)
Luminance0.3380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97DF7 #ABF77D
analogous
#8C7DF7 #C97DF7 #F77DE8
triadic
#C97DF7 #F7C97D #7DF7C9
tetradic
#C97DF7 #F78C7D #ABF77D #7DE8F7
square
#C97DF7 #F78C7D #ABF77D #7DE8F7
split-complementary
#C97DF7 #E8F77D #7DF78C
monochromatic
#980EEB #B143F3 #C97DF7 #E1B7FB #F3E2FD

Accessibility & contrast

On white

2.71
#C97DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#C97DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97DF7
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97DF7#FFFFFF#000000##000000
##C97DF71.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99FB
Deuteranopia (green-blind)
#759FF4
Tritanopia (blue-blind)
#C491AF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c97df7;
/* rgb */ color: rgb(201, 125, 247);
/* oklch */ color: oklch(71.8% 0.185 311.3);
Tailwind
colors: {
  custom: {
    50: '#dca5fa',
    500: '#c97df7',
    950: '#000000',
  },
}
SCSS
$custom: #c97df7;
$custom-light: #dca5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c97df7",
  "rgb": {
    "r": 201,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 277.377,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71754,
    "c": 0.18486,
    "h": 311.3
  },
  "luminance": 0.338
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C97DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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