#C97FFE#C97FFE

#C97FFE is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.4% C 0.190 H 309.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#C97FFE
RGBrgb(201, 127, 254)
HSLhsl(275, 98%, 75%)
HSVhsv(275, 50%, 100%)
CMYKcmyk(20.9%, 50%, 0%, 0.4%)
CIE-LABlab(65.56, 50.91, -52.39)
CIE-LCHlch(65.56, 73.05, 314.18°)
OKLaboklab(72.42% 0.1201 -0.1466)
OKLCHoklch(72.42% 0.19 309.3)
XYZxyz(49.5628, 34.7528, 97.8437)
Luminance0.3475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97FFE #B4FE7F
analogous
#8A7FFE #C97FFE #FE7FF3
triadic
#C97FFE #FEC97F #7FFEC9
tetradic
#C97FFE #FE8A7F #B4FE7F #7FF3FE
square
#C97FFE #FE8A7F #B4FE7F #7FF3FE
split-complementary
#C97FFE #F3FE7F #7FFE8A
monochromatic
#9606FD #AF42FE #C97FFE #E3BCFE #F2E1FF

Accessibility & contrast

On white

2.64
#C97FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#C97FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97FFE
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97FFE#FFFFFF#000000##000000
##C97FFE1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#73A0FB
Tritanopia (blue-blind)
#C294B3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c97ffe;
/* rgb */ color: rgb(201, 127, 254);
/* oklch */ color: oklch(72.4% 0.190 309.3);
Tailwind
colors: {
  custom: {
    50: '#dca6ff',
    500: '#c97ffe',
    950: '#000000',
  },
}
SCSS
$custom: #c97ffe;
$custom-light: #dca6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c97ffe",
  "rgb": {
    "r": 201,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 274.961,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72424,
    "c": 0.1895,
    "h": 309.3
  },
  "luminance": 0.34752
}

Semantic roles & 50–950 ramp

primary
#C97FFE
secondary
#E3F7D4
accent
#E60060
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C97FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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