#C56DFD#C56DFD

#C56DFD is a light, highly saturated violet. Relative luminance 0.299; OKLCH L 69.4% C 0.214 H 310.2°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#C56DFD
RGBrgb(197, 109, 253)
HSLhsl(277, 97%, 71%)
HSVhsv(277, 57%, 99%)
CMYKcmyk(22.1%, 56.9%, 0%, 0.8%)
CIE-LABlab(61.57, 58.85, -58.20)
CIE-LCHlch(61.57, 82.77, 315.31°)
OKLaboklab(69.37% 0.1381 -0.1636)
OKLCHoklch(69.37% 0.214 310.2)
XYZxyz(46.2209, 29.9003, 96.2459)
Luminance0.2990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56DFD #A5FD6D
analogous
#7D6DFD #C56DFD #FD6DED
triadic
#C56DFD #FDC56D #6DFDC5
tetradic
#C56DFD #FD7D6D #A5FD6D #6DEDFD
square
#C56DFD #FD7D6D #A5FD6D #6DEDFD
split-complementary
#C56DFD #EDFD6D #6DFD7D
monochromatic
#9203EC #AD31FC #C56DFD #DDA9FE #F3E1FF

Accessibility & contrast

On white

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

On black

6.98
#C56DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56DFD
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56DFD#FFFFFF#000000##000000
##C56DFD1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C91FF
Deuteranopia (green-blind)
#5E96FA
Tritanopia (blue-blind)
#BE87AB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c56dfd;
/* rgb */ color: rgb(197, 109, 253);
/* oklch */ color: oklch(69.4% 0.214 310.2);
Tailwind
colors: {
  custom: {
    50: '#da9aff',
    500: '#c56dfd',
    950: '#000000',
  },
}
SCSS
$custom: #c56dfd;
$custom-light: #da9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#c56dfd",
  "rgb": {
    "r": 197,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 276.667,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69371,
    "c": 0.21411,
    "h": 310.2
  },
  "luminance": 0.29899
}

Semantic roles & 50–950 ramp

primary
#C56DFD
secondary
#DFF6D0
accent
#E60059
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C56DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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