#C56BF5#C56BF5

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

Color values

HEX#C56BF5
RGBrgb(197, 107, 245)
HSLhsl(279, 87%, 69%)
HSVhsv(279, 56%, 96%)
CMYKcmyk(19.6%, 56.3%, 0%, 3.9%)
CIE-LABlab(60.76, 58.13, -55.07)
CIE-LCHlch(60.76, 80.08, 316.55°)
OKLaboklab(68.64% 0.1404 -0.1544)
OKLCHoklch(68.64% 0.209 312.3)
XYZxyz(44.7622, 28.9794, 89.6041)
Luminance0.2898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56BF5 #9BF56B
analogous
#806BF5 #C56BF5 #F56BE0
triadic
#C56BF5 #F5C56B #6BF5C5
tetradic
#C56BF5 #F5806B #9BF56B #6BE0F5
square
#C56BF5 #F5806B #9BF56B #6BE0F5
split-complementary
#C56BF5 #E0F56B #6BF580
monochromatic
#910FD7 #AF32F1 #C56BF5 #DBA4F9 #F2DEFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C56BF5#FFFFFF#000000##000000
##C56BF51.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)
#418EF9
Deuteranopia (green-blind)
#6395F2
Tritanopia (blue-blind)
#C083A6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c56bf5;
/* rgb */ color: rgb(197, 107, 245);
/* oklch */ color: oklch(68.6% 0.209 312.3);
Tailwind
colors: {
  custom: {
    50: '#da99f9',
    500: '#c56bf5',
    950: '#000000',
  },
}
SCSS
$custom: #c56bf5;
$custom-light: #da99f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c56bf5",
  "rgb": {
    "r": 197,
    "g": 107,
    "b": 245
  },
  "hsl": {
    "h": 279.13,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68642,
    "c": 0.20868,
    "h": 312.3
  },
  "luminance": 0.28978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C56BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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