#C97EFE#C97EFE

#C97EFE is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.3% C 0.191 H 309.5°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#C97EFE
RGBrgb(201, 126, 254)
HSLhsl(275, 98%, 75%)
HSVhsv(275, 50%, 100%)
CMYKcmyk(20.9%, 50.4%, 0%, 0.4%)
CIE-LABlab(65.35, 51.43, -52.70)
CIE-LCHlch(65.35, 73.64, 314.30°)
OKLaboklab(72.27% 0.1214 -0.1475)
OKLCHoklch(72.27% 0.191 309.5)
XYZxyz(49.4342, 34.4958, 97.8009)
Luminance0.3449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97EFE #B3FE7E
analogous
#897EFE #C97EFE #FE7EF3
triadic
#C97EFE #FEC97E #7EFEC9
tetradic
#C97EFE #FE897E #B3FE7E #7EF3FE
square
#C97EFE #FE897E #B3FE7E #7EF3FE
split-complementary
#C97EFE #F3FE7E #7EFE89
monochromatic
#9605FD #B041FE #C97EFE #E2BBFE #F2E1FF

Accessibility & contrast

On white

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

On black

7.90
#C97EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97EFE
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97EFE#FFFFFF#000000##000000
##C97EFE1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c97efe;
/* rgb */ color: rgb(201, 126, 254);
/* oklch */ color: oklch(72.3% 0.191 309.5);
Tailwind
colors: {
  custom: {
    50: '#dca5ff',
    500: '#c97efe',
    950: '#000000',
  },
}
SCSS
$custom: #c97efe;
$custom-light: #dca5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c97efe",
  "rgb": {
    "r": 201,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 275.156,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72274,
    "c": 0.19104,
    "h": 309.5
  },
  "luminance": 0.34495
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C97EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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