#C97EFD#C97EFD

#C97EFD is a light, vivid violet. Relative luminance 0.344; OKLCH L 72.2% C 0.190 H 309.7°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#C97EFD
RGBrgb(201, 126, 253)
HSLhsl(275, 97%, 74%)
HSVhsv(275, 50%, 99%)
CMYKcmyk(20.6%, 50.2%, 0%, 0.8%)
CIE-LABlab(65.30, 51.22, -52.24)
CIE-LCHlch(65.30, 73.16, 314.44°)
OKLaboklab(72.22% 0.1213 -0.1461)
OKLCHoklch(72.22% 0.19 309.7)
XYZxyz(49.2745, 34.4319, 96.9597)
Luminance0.3443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97EFD #B2FD7E
analogous
#8A7EFD #C97EFD #FD7EF2
triadic
#C97EFD #FDC97E #7EFDC9
tetradic
#C97EFD #FD8A7E #B2FD7E #7EF2FD
square
#C97EFD #FD8A7E #B2FD7E #7EF2FD
split-complementary
#C97EFD #F2FD7E #7EFD8A
monochromatic
#9705FB #B042FC #C97EFD #E2BAFE #F2E1FF

Accessibility & contrast

On white

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

On black

7.89
#C97EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97EFD
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97EFD#FFFFFF#000000##000000
##C97EFD1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9BFF
Deuteranopia (green-blind)
#73A0FA
Tritanopia (blue-blind)
#C293B2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c97efd;
/* rgb */ color: rgb(201, 126, 253);
/* oklch */ color: oklch(72.2% 0.190 309.7);
Tailwind
colors: {
  custom: {
    50: '#dca5fe',
    500: '#c97efd',
    950: '#000000',
  },
}
SCSS
$custom: #c97efd;
$custom-light: #dca5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c97efd",
  "rgb": {
    "r": 201,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 275.433,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72221,
    "c": 0.18993,
    "h": 309.7
  },
  "luminance": 0.34431
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C97EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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