#C97FF9#C97FF9

#C97FF9 is a light, vivid violet. Relative luminance 0.344; OKLCH L 72.2% C 0.184 H 310.6°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#C97FF9
RGBrgb(201, 127, 249)
HSLhsl(276, 91%, 74%)
HSVhsv(276, 49%, 98%)
CMYKcmyk(19.3%, 49%, 0%, 2.4%)
CIE-LABlab(65.31, 49.83, -50.04)
CIE-LCHlch(65.31, 70.62, 314.88°)
OKLaboklab(72.16% 0.1196 -0.1397)
OKLCHoklch(72.16% 0.184 310.6)
XYZxyz(48.7725, 34.4367, 93.6818)
Luminance0.3444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97FF9 #AFF97F
analogous
#8C7FF9 #C97FF9 #F97FEC
triadic
#C97FF9 #F9C97F #7FF9C9
tetradic
#C97FF9 #F98C7F #AFF97F #7FECF9
square
#C97FF9 #F98C7F #AFF97F #7FECF9
split-complementary
#C97FF9 #ECF97F #7FF98C
monochromatic
#970BF2 #B045F6 #C97FF9 #E2B9FC #F3E2FE

Accessibility & contrast

On white

2.66
#C97FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#C97FF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97FF9
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97FF9#FFFFFF#000000##000000
##C97FF91.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFD
Deuteranopia (green-blind)
#76A0F6
Tritanopia (blue-blind)
#C393B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c97ff9;
/* rgb */ color: rgb(201, 127, 249);
/* oklch */ color: oklch(72.2% 0.184 310.6);
Tailwind
colors: {
  custom: {
    50: '#dca6fc',
    500: '#c97ff9',
    950: '#000000',
  },
}
SCSS
$custom: #c97ff9;
$custom-light: #dca6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c97ff9",
  "rgb": {
    "r": 201,
    "g": 127,
    "b": 249
  },
  "hsl": {
    "h": 276.393,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72159,
    "c": 0.18392,
    "h": 310.6
  },
  "luminance": 0.34436
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C97FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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