#C97ED4#C97ED4

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

Color values

HEX#C97ED4
RGBrgb(201, 126, 212)
HSLhsl(292, 50%, 66%)
HSVhsv(292, 41%, 83%)
CMYKcmyk(5.2%, 40.6%, 0%, 16.9%)
CIE-LABlab(63.42, 42.78, -32.48)
CIE-LCHlch(63.42, 53.72, 322.79°)
OKLaboklab(70.2% 0.1152 -0.0891)
OKLCHoklch(70.2% 0.146 322.3)
XYZxyz(43.4306, 32.0943, 66.1817)
Luminance0.3209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97ED4 #89D47E
analogous
#9E7ED4 #C97ED4 #D47EB4
triadic
#C97ED4 #D4C97E #7ED4C9
tetradic
#C97ED4 #D49E7E #89D47E #7EB4D4
square
#C97ED4 #D49E7E #89D47E #7EB4D4
split-complementary
#C97ED4 #B4D47E #7ED49E
monochromatic
#9436A2 #B650C5 #C97ED4 #DCACE3 #EFDAF3

Accessibility & contrast

On white

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

On black

7.42
#C97ED4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97ED4
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97ED4#FFFFFF#000000##000000
##C97ED41.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7494D7
Deuteranopia (green-blind)
#879DD1
Tritanopia (blue-blind)
#CB889F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c97ed4;
/* rgb */ color: rgb(201, 126, 212);
/* oklch */ color: oklch(70.2% 0.146 322.3);
Tailwind
colors: {
  custom: {
    50: '#dba5e1',
    500: '#c97ed4',
    950: '#000000',
  },
}
SCSS
$custom: #c97ed4;
$custom-light: #dba5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#c97ed4",
  "rgb": {
    "r": 201,
    "g": 126,
    "b": 212
  },
  "hsl": {
    "h": 292.326,
    "s": 50,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70202,
    "c": 0.14562,
    "h": 322.3
  },
  "luminance": 0.32093
}

Semantic roles & 50–950 ramp

primary
#C97ED4
secondary
#CCE5C9
accent
#BD283B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #C97ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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