#C56CF5#C56CF5

#C56CF5 is a light, highly saturated violet. Relative luminance 0.292; OKLCH L 68.8% C 0.207 H 312.2°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#C56CF5
RGBrgb(197, 108, 245)
HSLhsl(279, 87%, 69%)
HSVhsv(279, 56%, 96%)
CMYKcmyk(19.6%, 55.9%, 0%, 3.9%)
CIE-LABlab(60.95, 57.64, -54.78)
CIE-LCHlch(60.95, 79.52, 316.46°)
OKLaboklab(68.78% 0.1391 -0.1535)
OKLCHoklch(68.78% 0.207 312.2)
XYZxyz(44.8670, 29.1891, 89.6390)
Luminance0.2919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56CF5 #9CF56C
analogous
#816CF5 #C56CF5 #F56CE1
triadic
#C56CF5 #F5C56C #6CF5C5
tetradic
#C56CF5 #F5816C #9CF56C #6CE1F5
square
#C56CF5 #F5816C #9CF56C #6CE1F5
split-complementary
#C56CF5 #E1F56C #6CF581
monochromatic
#910FD8 #AE33F1 #C56CF5 #DCA5F9 #F2DFFD

Accessibility & contrast

On white

3.07
#C56CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#C56CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56CF5
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56CF5#FFFFFF#000000##000000
##C56CF51.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#438EF9
Deuteranopia (green-blind)
#6395F2
Tritanopia (blue-blind)
#C084A6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c56cf5;
/* rgb */ color: rgb(197, 108, 245);
/* oklch */ color: oklch(68.8% 0.207 312.2);
Tailwind
colors: {
  custom: {
    50: '#da9af9',
    500: '#c56cf5',
    950: '#000000',
  },
}
SCSS
$custom: #c56cf5;
$custom-light: #da9af9;
$custom-dark: #000000;
JSON
{
  "hex": "#c56cf5",
  "rgb": {
    "r": 197,
    "g": 108,
    "b": 245
  },
  "hsl": {
    "h": 278.978,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68777,
    "c": 0.2072,
    "h": 312.2
  },
  "luminance": 0.29188
}

Semantic roles & 50–950 ramp

primary
#C56CF5
secondary
#D8F2CA
accent
#E40251
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C56CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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