#C56CD2#C56CD2

#C56CD2 is a light, vivid purple. Relative luminance 0.272; OKLCH L 66.9% C 0.172 H 322.4°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#C56CD2
RGBrgb(197, 108, 210)
HSLhsl(292, 53%, 62%)
HSVhsv(292, 49%, 82%)
CMYKcmyk(6.2%, 48.6%, 0%, 17.6%)
CIE-LABlab(59.21, 50.60, -37.97)
CIE-LCHlch(59.21, 63.26, 323.12°)
OKLaboklab(66.93% 0.1359 -0.1048)
OKLCHoklch(66.93% 0.172 322.4)
XYZxyz(40.0201, 27.2503, 64.1121)
Luminance0.2725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56CD2 #79D26C
analogous
#926CD2 #C56CD2 #D26CAC
triadic
#C56CD2 #D2C56C #6CD2C5
tetradic
#C56CD2 #D2926C #79D26C #6CACD2
square
#C56CD2 #D2926C #79D26C #6CACD2
split-complementary
#C56CD2 #ACD26C #6CD292
monochromatic
#892E96 #B33DC4 #C56CD2 #D79BE0 #EACAEF

Accessibility & contrast

On white

3.26
#C56CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#C56CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56CD2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56CD2#FFFFFF#000000##000000
##C56CD21.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E88D5
Deuteranopia (green-blind)
#7892CF
Tritanopia (blue-blind)
#C77995
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c56cd2;
/* rgb */ color: rgb(197, 108, 210);
/* oklch */ color: oklch(66.9% 0.172 322.4);
Tailwind
colors: {
  custom: {
    50: '#d999e0',
    500: '#c56cd2',
    950: '#000000',
  },
}
SCSS
$custom: #c56cd2;
$custom-light: #d999e0;
$custom-dark: #000000;
JSON
{
  "hex": "#c56cd2",
  "rgb": {
    "r": 197,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 292.353,
    "s": 53.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66926,
    "c": 0.17157,
    "h": 322.4
  },
  "luminance": 0.27249
}

Semantic roles & 50–950 ramp

primary
#C56CD2
secondary
#BFE0BA
accent
#C12539
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #C56CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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