#C97ED5#C97ED5

#C97ED5 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.2% C 0.147 H 321.9°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#C97ED5
RGBrgb(201, 126, 213)
HSLhsl(292, 51%, 66%)
HSVhsv(292, 41%, 84%)
CMYKcmyk(5.6%, 40.8%, 0%, 16.5%)
CIE-LABlab(63.46, 42.98, -32.98)
CIE-LCHlch(63.46, 54.17, 322.50°)
OKLaboklab(70.25% 0.1154 -0.0905)
OKLCHoklch(70.25% 0.147 321.9)
XYZxyz(43.5571, 32.1449, 66.8481)
Luminance0.3214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97ED5 #8AD57E
analogous
#9E7ED5 #C97ED5 #D57EB6
triadic
#C97ED5 #D5C97E #7ED5C9
tetradic
#C97ED5 #D59E7E #8AD57E #7EB6D5
square
#C97ED5 #D59E7E #8AD57E #7EB6D5
split-complementary
#C97ED5 #B6D57E #7ED59E
monochromatic
#9435A3 #B650C6 #C97ED5 #DCACE4 #F0DAF3

Accessibility & contrast

On white

2.83
#C97ED5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#C97ED5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97ED5
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97ED5#FFFFFF#000000##000000
##C97ED51.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7394D8
Deuteranopia (green-blind)
#879DD2
Tritanopia (blue-blind)
#CB88A0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c97ed5;
/* rgb */ color: rgb(201, 126, 213);
/* oklch */ color: oklch(70.2% 0.147 321.9);
Tailwind
colors: {
  custom: {
    50: '#dba5e2',
    500: '#c97ed5',
    950: '#000000',
  },
}
SCSS
$custom: #c97ed5;
$custom-light: #dba5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#c97ed5",
  "rgb": {
    "r": 201,
    "g": 126,
    "b": 213
  },
  "hsl": {
    "h": 291.724,
    "s": 50.877,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70247,
    "c": 0.14666,
    "h": 321.9
  },
  "luminance": 0.32143
}

Semantic roles & 50–950 ramp

primary
#C97ED5
secondary
#CDE6C9
accent
#BE273C
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #C97ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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