#C56DEF#C56DEF

#C56DEF is a light, vivid purple. Relative luminance 0.290; OKLCH L 68.6% C 0.199 H 313.6°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#C56DEF
RGBrgb(197, 109, 239)
HSLhsl(281, 80%, 68%)
HSVhsv(281, 54%, 94%)
CMYKcmyk(17.6%, 54.4%, 0%, 6.3%)
CIE-LABlab(60.82, 55.89, -51.66)
CIE-LCHlch(60.82, 76.11, 317.25°)
OKLaboklab(68.58% 0.1375 -0.1445)
OKLCHoklch(68.58% 0.199 313.6)
XYZxyz(44.0720, 29.0408, 84.9284)
Luminance0.2904 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56DEF #97EF6D
analogous
#846DEF #C56DEF #EF6DD8
triadic
#C56DEF #EFC56D #6DEFC5
tetradic
#C56DEF #EF846D #97EF6D #6DD8EF
square
#C56DEF #EF846D #97EF6D #6DD8EF
split-complementary
#C56DEF #D8EF6D #6DEF84
monochromatic
#9116CB #AF36E9 #C56DEF #DBA4F5 #F1DBFB

Accessibility & contrast

On white

3.08
#C56DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#C56DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56DEF
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56DEF#FFFFFF#000000##000000
##C56DEF1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8EF3
Deuteranopia (green-blind)
#6995EC
Tritanopia (blue-blind)
#C183A4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c56def;
/* rgb */ color: rgb(197, 109, 239);
/* oklch */ color: oklch(68.6% 0.199 313.6);
Tailwind
colors: {
  custom: {
    50: '#d99af5',
    500: '#c56def',
    950: '#000000',
  },
}
SCSS
$custom: #c56def;
$custom-light: #d99af5;
$custom-dark: #000000;
JSON
{
  "hex": "#c56def",
  "rgb": {
    "r": 197,
    "g": 109,
    "b": 239
  },
  "hsl": {
    "h": 280.615,
    "s": 80.247,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68578,
    "c": 0.19946,
    "h": 313.6
  },
  "luminance": 0.2904
}

Semantic roles & 50–950 ramp

primary
#C56DEF
secondary
#D5F0C8
accent
#DD094D
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #C56DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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