#C56CFE#C56CFE

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

Color values

HEX#C56CFE
RGBrgb(197, 108, 254)
HSLhsl(277, 99%, 71%)
HSVhsv(277, 57%, 100%)
CMYKcmyk(22.4%, 57.5%, 0%, 0.4%)
CIE-LABlab(61.44, 59.55, -58.96)
CIE-LCHlch(61.44, 83.80, 315.29°)
OKLaboklab(69.3% 0.1394 -0.1658)
OKLCHoklch(69.3% 0.217 310.1)
XYZxyz(46.2745, 29.7521, 97.0517)
Luminance0.2975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56CFE #A5FE6C
analogous
#7C6CFE #C56CFE #FE6CEE
triadic
#C56CFE #FEC56C #6CFEC5
tetradic
#C56CFE #FE7C6C #A5FE6C #6CEEFE
square
#C56CFE #FE7C6C #A5FE6C #6CEEFE
split-complementary
#C56CFE #EEFE6C #6CFE7C
monochromatic
#9202EE #AD2FFE #C56CFE #DDA9FE #F3E1FF

Accessibility & contrast

On white

3.02
#C56CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#C56CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56CFE
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56CFE#FFFFFF#000000##000000
##C56CFE1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3890FF
Deuteranopia (green-blind)
#5C96FA
Tritanopia (blue-blind)
#BE87AB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c56cfe;
/* rgb */ color: rgb(197, 108, 254);
/* oklch */ color: oklch(69.3% 0.217 310.1);
Tailwind
colors: {
  custom: {
    50: '#da9aff',
    500: '#c56cfe',
    950: '#000000',
  },
}
SCSS
$custom: #c56cfe;
$custom-light: #da9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#c56cfe",
  "rgb": {
    "r": 197,
    "g": 108,
    "b": 254
  },
  "hsl": {
    "h": 276.575,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69295,
    "c": 0.21659,
    "h": 310.1
  },
  "luminance": 0.29751
}

Semantic roles & 50–950 ramp

primary
#C56CFE
secondary
#DFF6CF
accent
#E6005A
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C56CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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