#C56AFE#C56AFE

#C56AFE is a light, highly saturated violet. Relative luminance 0.293; OKLCH L 69.0% C 0.219 H 310.3°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#C56AFE
RGBrgb(197, 106, 254)
HSLhsl(277, 99%, 71%)
HSVhsv(277, 58%, 100%)
CMYKcmyk(22.4%, 58.3%, 0%, 0.4%)
CIE-LABlab(61.08, 60.53, -59.54)
CIE-LCHlch(61.08, 84.90, 315.47°)
OKLaboklab(69.03% 0.1418 -0.1675)
OKLCHoklch(69.03% 0.219 310.3)
XYZxyz(46.0660, 29.3350, 96.9822)
Luminance0.2933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56AFE #A3FE6A
analogous
#7B6AFE #C56AFE #FE6AED
triadic
#C56AFE #FEC56A #6AFEC5
tetradic
#C56AFE #FE7B6A #A3FE6A #6AEDFE
square
#C56AFE #FE7B6A #A3FE6A #6AEDFE
split-complementary
#C56AFE #EDFE6A #6AFE7B
monochromatic
#9202EC #AD2DFE #C56AFE #DDA7FE #F3E1FF

Accessibility & contrast

On white

3.06
#C56AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#C56AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56AFE
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56AFE#FFFFFF#000000##000000
##C56AFE1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#338FFF
Deuteranopia (green-blind)
#5A95FA
Tritanopia (blue-blind)
#BE86AA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c56afe;
/* rgb */ color: rgb(197, 106, 254);
/* oklch */ color: oklch(69.0% 0.219 310.3);
Tailwind
colors: {
  custom: {
    50: '#da99ff',
    500: '#c56afe',
    950: '#000000',
  },
}
SCSS
$custom: #c56afe;
$custom-light: #da99ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c56afe",
  "rgb": {
    "r": 197,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 276.892,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6903,
    "c": 0.21943,
    "h": 310.3
  },
  "luminance": 0.29334
}

Semantic roles & 50–950 ramp

primary
#C56AFE
secondary
#DDF6CE
accent
#E60058
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C56AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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