#C97DF8#C97DF8

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

Color values

HEX#C97DF8
RGBrgb(201, 125, 248)
HSLhsl(277, 90%, 73%)
HSVhsv(277, 50%, 97%)
CMYKcmyk(19%, 49.6%, 0%, 2.7%)
CIE-LABlab(64.85, 50.66, -50.21)
CIE-LCHlch(64.85, 71.32, 315.26°)
OKLaboklab(71.81% 0.1222 -0.1402)
OKLCHoklch(71.81% 0.186 311.1)
XYZxyz(48.3612, 33.8630, 92.7773)
Luminance0.3386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97DF8 #ACF87D
analogous
#8B7DF8 #C97DF8 #F87DEA
triadic
#C97DF8 #F8C97D #7DF8C9
tetradic
#C97DF8 #F88B7D #ACF87D #7DEAF8
square
#C97DF8 #F88B7D #ACF87D #7DEAF8
split-complementary
#C97DF8 #EAF87D #7DF88B
monochromatic
#980DEE #B143F5 #C97DF8 #E1B7FB #F3E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C97DF8#FFFFFF#000000##000000
##C97DF81.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)
#5E9AFC
Deuteranopia (green-blind)
#759FF5
Tritanopia (blue-blind)
#C491AF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c97df8;
/* rgb */ color: rgb(201, 125, 248);
/* oklch */ color: oklch(71.8% 0.186 311.1);
Tailwind
colors: {
  custom: {
    50: '#dca5fb',
    500: '#c97df8',
    950: '#000000',
  },
}
SCSS
$custom: #c97df8;
$custom-light: #dca5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c97df8",
  "rgb": {
    "r": 201,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 277.073,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71806,
    "c": 0.18595,
    "h": 311.1
  },
  "luminance": 0.33862
}

Semantic roles & 50–950 ramp

primary
#C97DF8
secondary
#E2F6D5
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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