#C97CFC#C97CFC

#C97CFC is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.9% C 0.192 H 310.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#C97CFC
RGBrgb(201, 124, 252)
HSLhsl(276, 96%, 74%)
HSVhsv(276, 51%, 99%)
CMYKcmyk(20.2%, 50.8%, 0%, 1.2%)
CIE-LABlab(64.85, 52.04, -52.40)
CIE-LCHlch(64.85, 73.85, 314.80°)
OKLaboklab(71.87% 0.1239 -0.1466)
OKLCHoklch(71.87% 0.192 310.2)
XYZxyz(48.8625, 33.8619, 96.0385)
Luminance0.3386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97CFC #AFFC7C
analogous
#897CFC #C97CFC #FC7CEF
triadic
#C97CFC #FCC97C #7CFCC9
tetradic
#C97CFC #FC897C #AFFC7C #7CEFFC
square
#C97CFC #FC897C #AFFC7C #7CEFFC
split-complementary
#C97CFC #EFFC7C #7CFC89
monochromatic
#9706F8 #B040FB #C97CFC #E2B8FD #F3E1FE

Accessibility & contrast

On white

2.70
#C97CFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#C97CFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97CFC
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97CFC#FFFFFF#000000##000000
##C97CFC1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#719FF9
Tritanopia (blue-blind)
#C392B1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c97cfc;
/* rgb */ color: rgb(201, 124, 252);
/* oklch */ color: oklch(71.9% 0.192 310.2);
Tailwind
colors: {
  custom: {
    50: '#dca4fe',
    500: '#c97cfc',
    950: '#000000',
  },
}
SCSS
$custom: #c97cfc;
$custom-light: #dca4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c97cfc",
  "rgb": {
    "r": 201,
    "g": 124,
    "b": 252
  },
  "hsl": {
    "h": 276.094,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71871,
    "c": 0.19192,
    "h": 310.2
  },
  "luminance": 0.33861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C97CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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