#C97FFD#C97FFD

#C97FFD is a light, vivid violet. Relative luminance 0.347; OKLCH L 72.4% C 0.188 H 309.6°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#C97FFD
RGBrgb(201, 127, 253)
HSLhsl(275, 97%, 75%)
HSVhsv(275, 50%, 99%)
CMYKcmyk(20.6%, 49.8%, 0%, 0.8%)
CIE-LABlab(65.51, 50.70, -51.92)
CIE-LCHlch(65.51, 72.56, 314.32°)
OKLaboklab(72.37% 0.12 -0.1452)
OKLCHoklch(72.37% 0.188 309.6)
XYZxyz(49.4030, 34.6889, 97.0025)
Luminance0.3469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97FFD #B3FD7F
analogous
#8A7FFD #C97FFD #FD7FF2
triadic
#C97FFD #FDC97F #7FFDC9
tetradic
#C97FFD #FD8A7F #B3FD7F #7FF2FD
square
#C97FFD #FD8A7F #B3FD7F #7FF2FD
split-complementary
#C97FFD #F2FD7F #7FFD8A
monochromatic
#9606FB #B043FC #C97FFD #E2BBFE #F2E1FF

Accessibility & contrast

On white

2.65
#C97FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#C97FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97FFD
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97FFD#FFFFFF#000000##000000
##C97FFD1.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#74A0FA
Tritanopia (blue-blind)
#C294B3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c97ffd;
/* rgb */ color: rgb(201, 127, 253);
/* oklch */ color: oklch(72.4% 0.188 309.6);
Tailwind
colors: {
  custom: {
    50: '#dca6fe',
    500: '#c97ffd',
    950: '#000000',
  },
}
SCSS
$custom: #c97ffd;
$custom-light: #dca6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c97ffd",
  "rgb": {
    "r": 201,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 275.238,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7237,
    "c": 0.18837,
    "h": 309.6
  },
  "luminance": 0.34688
}

Semantic roles & 50–950 ramp

primary
#C97FFD
secondary
#E2F7D4
accent
#E6005F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C97FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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