#C56DFC#C56DFC

#C56DFC is a light, highly saturated violet. Relative luminance 0.298; OKLCH L 69.3% C 0.213 H 310.4°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#C56DFC
RGBrgb(197, 109, 252)
HSLhsl(277, 96%, 71%)
HSVhsv(277, 57%, 99%)
CMYKcmyk(21.8%, 56.7%, 0%, 1.2%)
CIE-LABlab(61.51, 58.63, -57.74)
CIE-LCHlch(61.51, 82.29, 315.44°)
OKLaboklab(69.31% 0.1381 -0.1622)
OKLCHoklch(69.31% 0.213 310.4)
XYZxyz(46.0620, 29.8368, 95.4092)
Luminance0.2984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56DFC #A4FC6D
analogous
#7D6DFC #C56DFC #FC6DEB
triadic
#C56DFC #FCC56D #6DFCC5
tetradic
#C56DFC #FC7D6D #A4FC6D #6DEBFC
square
#C56DFC #FC7D6D #A4FC6D #6DEBFC
split-complementary
#C56DFC #EBFC6D #6DFC7D
monochromatic
#9205EA #AD31FB #C56DFC #DDA9FD #F3E1FE

Accessibility & contrast

On white

3.01
#C56DFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#C56DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56DFC
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56DFC#FFFFFF#000000##000000
##C56DFC1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D90FF
Deuteranopia (green-blind)
#5F96F9
Tritanopia (blue-blind)
#BE87AA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c56dfc;
/* rgb */ color: rgb(197, 109, 252);
/* oklch */ color: oklch(69.3% 0.213 310.4);
Tailwind
colors: {
  custom: {
    50: '#da9afe',
    500: '#c56dfc',
    950: '#000000',
  },
}
SCSS
$custom: #c56dfc;
$custom-light: #da9afe;
$custom-dark: #000000;
JSON
{
  "hex": "#c56dfc",
  "rgb": {
    "r": 197,
    "g": 109,
    "b": 252
  },
  "hsl": {
    "h": 276.923,
    "s": 95.973,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69313,
    "c": 0.21305,
    "h": 310.4
  },
  "luminance": 0.29836
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C56DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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