#C56CEF#C56CEF

#C56CEF is a light, highly saturated purple. Relative luminance 0.288; OKLCH L 68.4% C 0.201 H 313.7°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#C56CEF
RGBrgb(197, 108, 239)
HSLhsl(281, 80%, 68%)
HSVhsv(281, 55%, 94%)
CMYKcmyk(17.6%, 54.8%, 0%, 6.3%)
CIE-LABlab(60.63, 56.39, -51.96)
CIE-LCHlch(60.63, 76.67, 317.34°)
OKLaboklab(68.44% 0.1388 -0.1453)
OKLCHoklch(68.44% 0.201 313.7)
XYZxyz(43.9659, 28.8286, 84.8931)
Luminance0.2883 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56CEF #96EF6C
analogous
#836CEF #C56CEF #EF6CD8
triadic
#C56CEF #EFC56C #6CEFC5
tetradic
#C56CEF #EF836C #96EF6C #6CD8EF
square
#C56CEF #EF836C #96EF6C #6CD8EF
split-complementary
#C56CEF #D8EF6C #6CEF83
monochromatic
#9116CB #AF35E9 #C56CEF #DBA3F5 #F1DAFB

Accessibility & contrast

On white

3.10
#C56CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#C56CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56CEF
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56CEF#FFFFFF#000000##000000
##C56CEF1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#498DF3
Deuteranopia (green-blind)
#6894EC
Tritanopia (blue-blind)
#C182A3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c56cef;
/* rgb */ color: rgb(197, 108, 239);
/* oklch */ color: oklch(68.4% 0.201 313.7);
Tailwind
colors: {
  custom: {
    50: '#d999f5',
    500: '#c56cef',
    950: '#000000',
  },
}
SCSS
$custom: #c56cef;
$custom-light: #d999f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c56cef",
  "rgb": {
    "r": 197,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 280.763,
    "s": 80.368,
    "l": 68.039
  },
  "oklch": {
    "l": 0.68441,
    "c": 0.20097,
    "h": 313.7
  },
  "luminance": 0.28827
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C56CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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