#C56AF9#C56AF9

#C56AF9 is a light, highly saturated violet. Relative luminance 0.290; OKLCH L 68.7% C 0.214 H 311.4°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#C56AF9
RGBrgb(197, 106, 249)
HSLhsl(278, 92%, 70%)
HSVhsv(278, 57%, 98%)
CMYKcmyk(20.9%, 57.4%, 0%, 2.4%)
CIE-LABlab(60.80, 59.46, -57.23)
CIE-LCHlch(60.80, 82.53, 316.10°)
OKLaboklab(68.74% 0.1417 -0.1607)
OKLCHoklch(68.74% 0.214 311.4)
XYZxyz(45.2758, 29.0190, 92.8203)
Luminance0.2902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56AF9 #9EF96A
analogous
#7E6AF9 #C56AF9 #F96AE5
triadic
#C56AF9 #F9C56A #6AF9C5
tetradic
#C56AF9 #F97E6A #9EF96A #6AE5F9
square
#C56AF9 #F97E6A #9EF96A #6AE5F9
split-complementary
#C56AF9 #E5F96A #6AF97E
monochromatic
#9209E0 #AE2FF7 #C56AF9 #DCA5FB #F3E0FE

Accessibility & contrast

On white

3.09
#C56AF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#C56AF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56AF9
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56AF9#FFFFFF#000000##000000
##C56AF91.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8EFE
Deuteranopia (green-blind)
#5E94F6
Tritanopia (blue-blind)
#BF84A8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c56af9;
/* rgb */ color: rgb(197, 106, 249);
/* oklch */ color: oklch(68.7% 0.214 311.4);
Tailwind
colors: {
  custom: {
    50: '#da98fc',
    500: '#c56af9',
    950: '#000000',
  },
}
SCSS
$custom: #c56af9;
$custom-light: #da98fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c56af9",
  "rgb": {
    "r": 197,
    "g": 106,
    "b": 249
  },
  "hsl": {
    "h": 278.182,
    "s": 92.258,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68738,
    "c": 0.21426,
    "h": 311.4
  },
  "luminance": 0.29018
}

Semantic roles & 50–950 ramp

primary
#C56AF9
secondary
#DAF4CB
accent
#E60053
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C56AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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