#C97FF6#C97FF6

#C97FF6 is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.0% C 0.181 H 311.3°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#C97FF6
RGBrgb(201, 127, 246)
HSLhsl(277, 87%, 73%)
HSVhsv(277, 48%, 96%)
CMYKcmyk(18.3%, 48.4%, 0%, 3.5%)
CIE-LABlab(65.16, 49.19, -48.62)
CIE-LCHlch(65.16, 69.16, 315.33°)
OKLaboklab(72% 0.1193 -0.1356)
OKLCHoklch(72% 0.181 311.3)
XYZxyz(48.3083, 34.2510, 91.2372)
Luminance0.3425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97FF6 #ACF67F
analogous
#8D7FF6 #C97FF6 #F67FE7
triadic
#C97FF6 #F6C97F #7FF6C9
tetradic
#C97FF6 #F68D7F #ACF67F #7FE7F6
square
#C97FF6 #F68D7F #ACF67F #7FE7F6
split-complementary
#C97FF6 #E7F67F #7FF68D
monochromatic
#9810EA #B146F2 #C97FF6 #E1B8FA #F3E2FD

Accessibility & contrast

On white

2.68
#C97FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#C97FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97FF6
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97FF6#FFFFFF#000000##000000
##C97FF61.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#639AFA
Deuteranopia (green-blind)
#78A0F3
Tritanopia (blue-blind)
#C492AF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c97ff6;
/* rgb */ color: rgb(201, 127, 246);
/* oklch */ color: oklch(72.0% 0.181 311.3);
Tailwind
colors: {
  custom: {
    50: '#dca6f9',
    500: '#c97ff6',
    950: '#000000',
  },
}
SCSS
$custom: #c97ff6;
$custom-light: #dca6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c97ff6",
  "rgb": {
    "r": 201,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 277.311,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72003,
    "c": 0.18059,
    "h": 311.3
  },
  "luminance": 0.3425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C97FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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