#C97FF8#C97FF8

#C97FF8 is a light, vivid violet. Relative luminance 0.344; OKLCH L 72.1% C 0.183 H 310.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#C97FF8
RGBrgb(201, 127, 248)
HSLhsl(277, 90%, 74%)
HSVhsv(277, 49%, 97%)
CMYKcmyk(19%, 48.8%, 0%, 2.7%)
CIE-LABlab(65.26, 49.62, -49.56)
CIE-LCHlch(65.26, 70.13, 315.03°)
OKLaboklab(72.11% 0.1195 -0.1383)
OKLCHoklch(72.11% 0.183 310.8)
XYZxyz(48.6170, 34.3745, 92.8626)
Luminance0.3437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97FF8 #AEF87F
analogous
#8C7FF8 #C97FF8 #F87FEB
triadic
#C97FF8 #F8C97F #7FF8C9
tetradic
#C97FF8 #F88C7F #AEF87F #7FEBF8
square
#C97FF8 #F88C7F #AEF87F #7FEBF8
split-complementary
#C97FF8 #EBF87F #7FF88C
monochromatic
#980DF0 #B145F5 #C97FF8 #E1B9FB #F3E2FD

Accessibility & contrast

On white

2.67
#C97FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#C97FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97FF8
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97FF8#FFFFFF#000000##000000
##C97FF81.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFC
Deuteranopia (green-blind)
#77A0F5
Tritanopia (blue-blind)
#C493B0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c97ff8;
/* rgb */ color: rgb(201, 127, 248);
/* oklch */ color: oklch(72.1% 0.183 310.8);
Tailwind
colors: {
  custom: {
    50: '#dca6fb',
    500: '#c97ff8',
    950: '#000000',
  },
}
SCSS
$custom: #c97ff8;
$custom-light: #dca6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c97ff8",
  "rgb": {
    "r": 201,
    "g": 127,
    "b": 248
  },
  "hsl": {
    "h": 276.694,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72107,
    "c": 0.18281,
    "h": 310.8
  },
  "luminance": 0.34374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C97FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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