#C56CC7#C56CC7

#C56CC7 is a light, vivid purple. Relative luminance 0.267; OKLCH L 66.4% C 0.161 H 326.4°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#C56CC7
RGBrgb(197, 108, 199)
HSLhsl(299, 45%, 60%)
HSVhsv(299, 46%, 78%)
CMYKcmyk(1%, 45.7%, 0%, 22%)
CIE-LABlab(58.72, 48.53, -32.50)
CIE-LCHlch(58.72, 58.41, 326.19°)
OKLaboklab(66.4% 0.1341 -0.0891)
OKLCHoklch(66.4% 0.161 326.4)
XYZxyz(38.6965, 26.7209, 57.1411)
Luminance0.2672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56CC7 #6EC76C
analogous
#976CC7 #C56CC7 #C76C9C
triadic
#C56CC7 #C7C56C #6CC7C5
tetradic
#C56CC7 #C7976C #6EC76C #6C9CC7
square
#C56CC7 #C7976C #6EC76C #6C9CC7
split-complementary
#C56CC7 #9CC76C #6CC797
monochromatic
#843386 #B044B2 #C56CC7 #D698D8 #E8C5E9

Accessibility & contrast

On white

3.31
#C56CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#C56CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56CC7
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56CC7#FFFFFF#000000##000000
##C56CC71.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6386CA
Deuteranopia (green-blind)
#7D91C4
Tritanopia (blue-blind)
#CA7690
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c56cc7;
/* rgb */ color: rgb(197, 108, 199);
/* oklch */ color: oklch(66.4% 0.161 326.4);
Tailwind
colors: {
  custom: {
    50: '#d899d8',
    500: '#c56cc7',
    950: '#000000',
  },
}
SCSS
$custom: #c56cc7;
$custom-light: #d899d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c56cc7",
  "rgb": {
    "r": 197,
    "g": 108,
    "b": 199
  },
  "hsl": {
    "h": 298.681,
    "s": 44.828,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66402,
    "c": 0.16097,
    "h": 326.4
  },
  "luminance": 0.26719
}

Semantic roles & 50–950 ramp

primary
#C56CC7
secondary
#B7D9B6
accent
#B82E31
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E14
muted
#837E83

Preview Lab

Preview with #C56CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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