#C97DF2#C97DF2

#C97DF2 is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.5% C 0.179 H 312.6°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#C97DF2
RGBrgb(201, 125, 242)
HSLhsl(279, 82%, 72%)
HSVhsv(279, 48%, 95%)
CMYKcmyk(16.9%, 48.3%, 0%, 5.1%)
CIE-LABlab(64.56, 49.39, -47.37)
CIE-LCHlch(64.56, 68.43, 316.20°)
OKLaboklab(71.49% 0.1215 -0.132)
OKLCHoklch(71.49% 0.179 312.6)
XYZxyz(47.4453, 33.4966, 87.9533)
Luminance0.3350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97DF2 #A6F27D
analogous
#8F7DF2 #C97DF2 #F27DE1
triadic
#C97DF2 #F2C97D #7DF2C9
tetradic
#C97DF2 #F28F7D #A6F27D #7DE1F2
square
#C97DF2 #F28F7D #A6F27D #7DE1F2
split-complementary
#C97DF2 #E1F27D #7DF28F
monochromatic
#9816DE #B245EC #C97DF2 #E0B5F8 #F3E3FC

Accessibility & contrast

On white

2.73
#C97DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#C97DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97DF2
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97DF2#FFFFFF#000000##000000
##C97DF21.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#789EEF
Tritanopia (blue-blind)
#C58FAC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c97df2;
/* rgb */ color: rgb(201, 125, 242);
/* oklch */ color: oklch(71.5% 0.179 312.6);
Tailwind
colors: {
  custom: {
    50: '#dba5f7',
    500: '#c97df2',
    950: '#000000',
  },
}
SCSS
$custom: #c97df2;
$custom-light: #dba5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c97df2",
  "rgb": {
    "r": 201,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 278.974,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71494,
    "c": 0.17936,
    "h": 312.6
  },
  "luminance": 0.33496
}

Semantic roles & 50–950 ramp

primary
#C97DF2
secondary
#E1F4D7
accent
#DE0753
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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