#C56AF8#C56AF8

#C56AF8 is a light, highly saturated violet. Relative luminance 0.290; OKLCH L 68.7% C 0.213 H 311.6°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#C56AF8
RGBrgb(197, 106, 248)
HSLhsl(278, 91%, 69%)
HSVhsv(278, 57%, 97%)
CMYKcmyk(20.6%, 57.3%, 0%, 2.7%)
CIE-LABlab(60.74, 59.25, -56.76)
CIE-LCHlch(60.74, 82.05, 316.23°)
OKLaboklab(68.68% 0.1417 -0.1593)
OKLCHoklch(68.68% 0.213 311.6)
XYZxyz(45.1202, 28.9567, 92.0011)
Luminance0.2896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56AF8 #9DF86A
analogous
#7E6AF8 #C56AF8 #F86AE4
triadic
#C56AF8 #F8C56A #6AF8C5
tetradic
#C56AF8 #F87E6A #9DF86A #6AE4F8
square
#C56AF8 #F87E6A #9DF86A #6AE4F8
split-complementary
#C56AF8 #E4F86A #6AF87E
monochromatic
#910ADD #AE30F5 #C56AF8 #DCA4FB #F3DFFD

Accessibility & contrast

On white

3.09
#C56AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#C56AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56AF8
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56AF8#FFFFFF#000000##000000
##C56AF81.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8EFD
Deuteranopia (green-blind)
#5F94F5
Tritanopia (blue-blind)
#BF84A7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c56af8;
/* rgb */ color: rgb(197, 106, 248);
/* oklch */ color: oklch(68.7% 0.213 311.6);
Tailwind
colors: {
  custom: {
    50: '#da98fb',
    500: '#c56af8',
    950: '#000000',
  },
}
SCSS
$custom: #c56af8;
$custom-light: #da98fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c56af8",
  "rgb": {
    "r": 197,
    "g": 106,
    "b": 248
  },
  "hsl": {
    "h": 278.451,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6868,
    "c": 0.21323,
    "h": 311.6
  },
  "luminance": 0.28956
}

Semantic roles & 50–950 ramp

primary
#C56AF8
secondary
#D9F3CA
accent
#E60052
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C56AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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