#C97EED#C97EED

#C97EED is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.4% C 0.172 H 313.9°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#C97EED
RGBrgb(201, 126, 237)
HSLhsl(281, 76%, 71%)
HSVhsv(281, 47%, 93%)
CMYKcmyk(15.2%, 46.8%, 0%, 7.1%)
CIE-LABlab(64.53, 47.81, -44.66)
CIE-LCHlch(64.53, 65.43, 316.95°)
OKLaboklab(71.39% 0.1195 -0.1241)
OKLCHoklch(71.39% 0.172 313.9)
XYZxyz(46.8318, 33.4548, 84.0947)
Luminance0.3345 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97EED #A2ED7E
analogous
#917EED #C97EED #ED7ED9
triadic
#C97EED #EDC97E #7EEDC9
tetradic
#C97EED #ED917E #A2ED7E #7ED9ED
square
#C97EED #ED917E #A2ED7E #7ED9ED
split-complementary
#C97EED #D9ED7E #7EED91
monochromatic
#981DD3 #B348E6 #C97EED #DFB4F4 #F4E4FB

Accessibility & contrast

On white

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

On black

7.69
#C97EED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97EED
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97EED#FFFFFF#000000##000000
##C97EED1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F1
Deuteranopia (green-blind)
#7C9EEA
Tritanopia (blue-blind)
#C68FAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c97eed;
/* rgb */ color: rgb(201, 126, 237);
/* oklch */ color: oklch(71.4% 0.172 313.9);
Tailwind
colors: {
  custom: {
    50: '#dba5f3',
    500: '#c97eed',
    950: '#000000',
  },
}
SCSS
$custom: #c97eed;
$custom-light: #dba5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c97eed",
  "rgb": {
    "r": 201,
    "g": 126,
    "b": 237
  },
  "hsl": {
    "h": 280.541,
    "s": 75.51,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71391,
    "c": 0.17228,
    "h": 313.9
  },
  "luminance": 0.33454
}

Semantic roles & 50–950 ramp

primary
#C97EED
secondary
#DEF2D5
accent
#D80E4F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97EED

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

Preview Lab → · Contrast checker → · Palette generator →

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