#C56AF7#C56AF7

#C56AF7 is a light, highly saturated violet. Relative luminance 0.289; OKLCH L 68.6% C 0.212 H 311.9°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#C56AF7
RGBrgb(197, 106, 247)
HSLhsl(279, 90%, 69%)
HSVhsv(279, 57%, 97%)
CMYKcmyk(20.2%, 57.1%, 0%, 3.1%)
CIE-LABlab(60.69, 59.04, -56.30)
CIE-LCHlch(60.69, 81.58, 316.36°)
OKLaboklab(68.62% 0.1417 -0.158)
OKLCHoklch(68.62% 0.212 311.9)
XYZxyz(44.9655, 28.8948, 91.1862)
Luminance0.2889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56AF7 #9CF76A
analogous
#7F6AF7 #C56AF7 #F76AE3
triadic
#C56AF7 #F7C56A #6AF7C5
tetradic
#C56AF7 #F77F6A #9CF76A #6AE3F7
square
#C56AF7 #F77F6A #9CF76A #6AE3F7
split-complementary
#C56AF7 #E3F76A #6AF77F
monochromatic
#910CDB #AE30F4 #C56AF7 #DCA4FA #F2DEFD

Accessibility & contrast

On white

3.10
#C56AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#C56AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56AF7
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56AF7#FFFFFF#000000##000000
##C56AF71.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8EFC
Deuteranopia (green-blind)
#6094F4
Tritanopia (blue-blind)
#BF83A7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c56af7;
/* rgb */ color: rgb(197, 106, 247);
/* oklch */ color: oklch(68.6% 0.212 311.9);
Tailwind
colors: {
  custom: {
    50: '#da98fa',
    500: '#c56af7',
    950: '#000000',
  },
}
SCSS
$custom: #c56af7;
$custom-light: #da98fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c56af7",
  "rgb": {
    "r": 197,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 278.723,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68622,
    "c": 0.2122,
    "h": 311.9
  },
  "luminance": 0.28894
}

Semantic roles & 50–950 ramp

primary
#C56AF7
secondary
#D8F3CA
accent
#E60051
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C56AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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