#C97DF6#C97DF6

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

Color values

HEX#C97DF6
RGBrgb(201, 125, 246)
HSLhsl(278, 87%, 73%)
HSVhsv(278, 49%, 96%)
CMYKcmyk(18.3%, 49.2%, 0%, 3.5%)
CIE-LABlab(64.76, 50.23, -49.26)
CIE-LCHlch(64.76, 70.36, 315.56°)
OKLaboklab(71.7% 0.122 -0.1375)
OKLCHoklch(71.7% 0.184 311.6)
XYZxyz(48.0526, 33.7395, 91.1519)
Luminance0.3374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97DF6 #AAF67D
analogous
#8C7DF6 #C97DF6 #F67DE6
triadic
#C97DF6 #F6C97D #7DF6C9
tetradic
#C97DF6 #F68C7D #AAF67D #7DE6F6
square
#C97DF6 #F68C7D #AAF67D #7DE6F6
split-complementary
#C97DF6 #E6F67D #7DF68C
monochromatic
#9810E9 #B144F2 #C97DF6 #E1B6FA #F3E2FD

Accessibility & contrast

On white

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

On black

7.75
#C97DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97DF6
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97DF6#FFFFFF#000000##000000
##C97DF61.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6099FA
Deuteranopia (green-blind)
#769FF3
Tritanopia (blue-blind)
#C491AE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c97df6;
/* rgb */ color: rgb(201, 125, 246);
/* oklch */ color: oklch(71.7% 0.184 311.6);
Tailwind
colors: {
  custom: {
    50: '#dca5f9',
    500: '#c97df6',
    950: '#000000',
  },
}
SCSS
$custom: #c97df6;
$custom-light: #dca5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c97df6",
  "rgb": {
    "r": 201,
    "g": 125,
    "b": 246
  },
  "hsl": {
    "h": 277.686,
    "s": 87.05,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71701,
    "c": 0.18376,
    "h": 311.6
  },
  "luminance": 0.33739
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C97DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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