#C56CF8#C56CF8

#C56CF8 is a light, highly saturated violet. Relative luminance 0.294; OKLCH L 68.9% C 0.210 H 311.5°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#C56CF8
RGBrgb(197, 108, 248)
HSLhsl(278, 91%, 70%)
HSVhsv(278, 56%, 97%)
CMYKcmyk(20.6%, 56.5%, 0%, 2.7%)
CIE-LABlab(61.11, 58.27, -56.18)
CIE-LCHlch(61.11, 80.94, 316.05°)
OKLaboklab(68.95% 0.1392 -0.1576)
OKLCHoklch(68.95% 0.21 311.5)
XYZxyz(45.3287, 29.3738, 92.0706)
Luminance0.2937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56CF8 #9FF86C
analogous
#7F6CF8 #C56CF8 #F86CE5
triadic
#C56CF8 #F8C56C #6CF8C5
tetradic
#C56CF8 #F87F6C #9FF86C #6CE5F8
square
#C56CF8 #F87F6C #9FF86C #6CE5F8
split-complementary
#C56CF8 #E5F86C #6CF87F
monochromatic
#920BDF #AE32F5 #C56CF8 #DCA6FB #F3E1FE

Accessibility & contrast

On white

3.05
#C56CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C56CF8#FFFFFF#000000##000000
##C56CF81.003.056.876.87
#FFFFFF3.051.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#408FFD
Deuteranopia (green-blind)
#6195F5
Tritanopia (blue-blind)
#BF85A8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c56cf8;
/* rgb */ color: rgb(197, 108, 248);
/* oklch */ color: oklch(68.9% 0.210 311.5);
Tailwind
colors: {
  custom: {
    50: '#da9afb',
    500: '#c56cf8',
    950: '#000000',
  },
}
SCSS
$custom: #c56cf8;
$custom-light: #da9afb;
$custom-dark: #000000;
JSON
{
  "hex": "#c56cf8",
  "rgb": {
    "r": 197,
    "g": 108,
    "b": 248
  },
  "hsl": {
    "h": 278.143,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68948,
    "c": 0.21032,
    "h": 311.5
  },
  "luminance": 0.29373
}

Semantic roles & 50–950 ramp

primary
#C56CF8
secondary
#DBF4CC
accent
#E60054
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C56CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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