#C56AEF#C56AEF

#C56AEF is a light, highly saturated purple. Relative luminance 0.284; OKLCH L 68.2% C 0.204 H 313.9°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#C56AEF
RGBrgb(197, 106, 239)
HSLhsl(281, 81%, 68%)
HSVhsv(281, 56%, 94%)
CMYKcmyk(17.6%, 55.6%, 0%, 6.3%)
CIE-LABlab(60.26, 57.38, -52.55)
CIE-LCHlch(60.26, 77.80, 317.52°)
OKLaboklab(68.17% 0.1414 -0.147)
OKLCHoklch(68.17% 0.204 313.9)
XYZxyz(43.7574, 28.4116, 84.8236)
Luminance0.2841 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56AEF #94EF6A
analogous
#836AEF #C56AEF #EF6AD6
triadic
#C56AEF #EFC56A #6AEFC5
tetradic
#C56AEF #EF836A #94EF6A #6AD6EF
square
#C56AEF #EF836A #94EF6A #6AD6EF
split-complementary
#C56AEF #D6EF6A #6AEF83
monochromatic
#9016C9 #AF33E9 #C56AEF #DBA1F5 #F0D9FB

Accessibility & contrast

On white

3.14
#C56AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#C56AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56AEF
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56AEF#FFFFFF#000000##000000
##C56AEF1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#458CF3
Deuteranopia (green-blind)
#6694EC
Tritanopia (blue-blind)
#C181A3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c56aef;
/* rgb */ color: rgb(197, 106, 239);
/* oklch */ color: oklch(68.2% 0.204 313.9);
Tailwind
colors: {
  custom: {
    50: '#d998f5',
    500: '#c56aef',
    950: '#000000',
  },
}
SCSS
$custom: #c56aef;
$custom-light: #d998f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c56aef",
  "rgb": {
    "r": 197,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 281.053,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68168,
    "c": 0.20396,
    "h": 313.9
  },
  "luminance": 0.2841
}

Semantic roles & 50–950 ramp

primary
#C56AEF
secondary
#D3EFC6
accent
#DD094C
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #C56AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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