#C56AEB#C56AEB

#C56AEB is a light, vivid purple. Relative luminance 0.282; OKLCH L 67.9% C 0.200 H 314.9°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#C56AEB
RGBrgb(197, 106, 235)
HSLhsl(282, 76%, 67%)
HSVhsv(282, 55%, 92%)
CMYKcmyk(16.2%, 54.9%, 0%, 7.8%)
CIE-LABlab(60.05, 56.55, -50.66)
CIE-LCHlch(60.05, 75.92, 318.15°)
OKLaboklab(67.95% 0.1411 -0.1415)
OKLCHoklch(67.95% 0.2 314.9)
XYZxyz(43.1730, 28.1778, 81.7458)
Luminance0.2818 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56AEB #90EB6A
analogous
#856AEB #C56AEB #EB6AD0
triadic
#C56AEB #EBC56A #6AEBC5
tetradic
#C56AEB #EB856A #90EB6A #6AD0EB
square
#C56AEB #EB856A #90EB6A #6AD0EB
split-complementary
#C56AEB #D0EB6A #6AEB85
monochromatic
#901AC1 #B034E4 #C56AEB #DAA0F2 #EFD6F9

Accessibility & contrast

On white

3.16
#C56AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#C56AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56AEB
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56AEB#FFFFFF#000000##000000
##C56AEB1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#498BEF
Deuteranopia (green-blind)
#6893E8
Tritanopia (blue-blind)
#C27FA1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c56aeb;
/* rgb */ color: rgb(197, 106, 235);
/* oklch */ color: oklch(67.9% 0.200 314.9);
Tailwind
colors: {
  custom: {
    50: '#d998f2',
    500: '#c56aeb',
    950: '#000000',
  },
}
SCSS
$custom: #c56aeb;
$custom-light: #d998f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c56aeb",
  "rgb": {
    "r": 197,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 282.326,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.67947,
    "c": 0.19987,
    "h": 314.9
  },
  "luminance": 0.28177
}

Semantic roles & 50–950 ramp

primary
#C56AEB
secondary
#D0EDC4
accent
#D90D49
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C56AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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