#C97DFE#C97DFE

#C97DFE is a light, vivid violet. Relative luminance 0.342; OKLCH L 72.1% C 0.193 H 309.6°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#C97DFE
RGBrgb(201, 125, 254)
HSLhsl(275, 98%, 74%)
HSVhsv(275, 51%, 100%)
CMYKcmyk(20.9%, 50.8%, 0%, 0.4%)
CIE-LABlab(65.15, 51.95, -53.02)
CIE-LCHlch(65.15, 74.23, 314.42°)
OKLaboklab(72.13% 0.1227 -0.1484)
OKLCHoklch(72.13% 0.193 309.6)
XYZxyz(49.3070, 34.2413, 97.7585)
Luminance0.3424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97DFE #B2FE7D
analogous
#897DFE #C97DFE #FE7DF2
triadic
#C97DFE #FEC97D #7DFEC9
tetradic
#C97DFE #FE897D #B2FE7D #7DF2FE
square
#C97DFE #FE897D #B2FE7D #7DF2FE
split-complementary
#C97DFE #F2FE7D #7DFE89
monochromatic
#9704FD #B040FE #C97DFE #E2BAFE #F2E1FF

Accessibility & contrast

On white

2.68
#C97DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#C97DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97DFE
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97DFE#FFFFFF#000000##000000
##C97DFE1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9BFF
Deuteranopia (green-blind)
#719FFB
Tritanopia (blue-blind)
#C293B2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c97dfe;
/* rgb */ color: rgb(201, 125, 254);
/* oklch */ color: oklch(72.1% 0.193 309.6);
Tailwind
colors: {
  custom: {
    50: '#dca5ff',
    500: '#c97dfe',
    950: '#000000',
  },
}
SCSS
$custom: #c97dfe;
$custom-light: #dca5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c97dfe",
  "rgb": {
    "r": 201,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 275.349,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72126,
    "c": 0.19258,
    "h": 309.6
  },
  "luminance": 0.3424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C97DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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