#C56EF8#C56EF8

#C56EF8 is a light, highly saturated violet. Relative luminance 0.298; OKLCH L 69.2% C 0.207 H 311.3°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#C56EF8
RGBrgb(197, 110, 248)
HSLhsl(278, 91%, 70%)
HSVhsv(278, 56%, 97%)
CMYKcmyk(20.6%, 55.6%, 0%, 2.7%)
CIE-LABlab(61.48, 57.28, -55.59)
CIE-LCHlch(61.48, 79.82, 315.86°)
OKLaboklab(69.22% 0.1367 -0.1559)
OKLCHoklch(69.22% 0.207 311.3)
XYZxyz(45.5421, 29.8005, 92.1417)
Luminance0.2980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56EF8 #A1F86E
analogous
#806EF8 #C56EF8 #F86EE6
triadic
#C56EF8 #F8C56E #6EF8C5
tetradic
#C56EF8 #F8806E #A1F86E #6EE6F8
square
#C56EF8 #F8806E #A1F86E #6EE6F8
split-complementary
#C56EF8 #E6F86E #6EF880
monochromatic
#920BE1 #AE34F5 #C56EF8 #DCA8FB #F3E2FE

Accessibility & contrast

On white

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

On black

6.96
#C56EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56EF8
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56EF8#FFFFFF#000000##000000
##C56EF81.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4390FC
Deuteranopia (green-blind)
#6396F5
Tritanopia (blue-blind)
#BF86A9
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c56ef8;
/* rgb */ color: rgb(197, 110, 248);
/* oklch */ color: oklch(69.2% 0.207 311.3);
Tailwind
colors: {
  custom: {
    50: '#da9bfb',
    500: '#c56ef8',
    950: '#000000',
  },
}
SCSS
$custom: #c56ef8;
$custom-light: #da9bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#c56ef8",
  "rgb": {
    "r": 197,
    "g": 110,
    "b": 248
  },
  "hsl": {
    "h": 277.826,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.6922,
    "c": 0.20739,
    "h": 311.3
  },
  "luminance": 0.29799
}

Semantic roles & 50–950 ramp

primary
#C56EF8
secondary
#DCF4CE
accent
#E60055
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C56EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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