#C97CFD#C97CFD

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

Color values

HEX#C97CFD
RGBrgb(201, 124, 253)
HSLhsl(276, 97%, 74%)
HSVhsv(276, 51%, 99%)
CMYKcmyk(20.6%, 51%, 0%, 0.8%)
CIE-LABlab(64.90, 52.25, -52.87)
CIE-LCHlch(64.90, 74.34, 314.66°)
OKLaboklab(71.92% 0.124 -0.148)
OKLCHoklch(71.92% 0.193 310)
XYZxyz(49.0213, 33.9255, 96.8753)
Luminance0.3392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97CFD #B0FD7C
analogous
#897CFD #C97CFD #FD7CF0
triadic
#C97CFD #FDC97C #7CFDC9
tetradic
#C97CFD #FD897C #B0FD7C #7CF0FD
square
#C97CFD #FD897C #B0FD7C #7CF0FD
split-complementary
#C97CFD #F0FD7C #7CFD89
monochromatic
#9704FB #B040FC #C97CFD #E2B8FE #F3E1FF

Accessibility & contrast

On white

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

On black

7.78
#C97CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97CFD
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97CFD#FFFFFF#000000##000000
##C97CFD1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#719FFA
Tritanopia (blue-blind)
#C292B1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c97cfd;
/* rgb */ color: rgb(201, 124, 253);
/* oklch */ color: oklch(71.9% 0.193 310.0);
Tailwind
colors: {
  custom: {
    50: '#dca4fe',
    500: '#c97cfd',
    950: '#000000',
  },
}
SCSS
$custom: #c97cfd;
$custom-light: #dca4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c97cfd",
  "rgb": {
    "r": 201,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 275.814,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71924,
    "c": 0.19302,
    "h": 310
  },
  "luminance": 0.33925
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C97CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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