#C97DF9#C97DF9

#C97DF9 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.9% C 0.187 H 310.8°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#C97DF9
RGBrgb(201, 125, 249)
HSLhsl(277, 91%, 73%)
HSVhsv(277, 50%, 98%)
CMYKcmyk(19.3%, 49.8%, 0%, 2.4%)
CIE-LABlab(64.90, 50.88, -50.68)
CIE-LCHlch(64.90, 71.81, 315.11°)
OKLaboklab(71.86% 0.1223 -0.1416)
OKLCHoklch(71.86% 0.187 310.8)
XYZxyz(48.5168, 33.9252, 93.5966)
Luminance0.3392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97DF9 #ADF97D
analogous
#8B7DF9 #C97DF9 #F97DEB
triadic
#C97DF9 #F9C97D #7DF9C9
tetradic
#C97DF9 #F98B7D #ADF97D #7DEBF9
square
#C97DF9 #F98B7D #ADF97D #7DEBF9
split-complementary
#C97DF9 #EBF97D #7DF98B
monochromatic
#980BF0 #B142F6 #C97DF9 #E1B7FC #F3E2FE

Accessibility & contrast

On white

2.70
#C97DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#C97DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97DF9
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97DF9#FFFFFF#000000##000000
##C97DF91.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFD
Deuteranopia (green-blind)
#749FF6
Tritanopia (blue-blind)
#C391B0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c97df9;
/* rgb */ color: rgb(201, 125, 249);
/* oklch */ color: oklch(71.9% 0.187 310.8);
Tailwind
colors: {
  custom: {
    50: '#dca5fc',
    500: '#c97df9',
    950: '#000000',
  },
}
SCSS
$custom: #c97df9;
$custom-light: #dca5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c97df9",
  "rgb": {
    "r": 201,
    "g": 125,
    "b": 249
  },
  "hsl": {
    "h": 276.774,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71859,
    "c": 0.18705,
    "h": 310.8
  },
  "luminance": 0.33924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C97DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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