#C56BF8#C56BF8

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

Color values

HEX#C56BF8
RGBrgb(197, 107, 248)
HSLhsl(278, 91%, 70%)
HSVhsv(278, 57%, 97%)
CMYKcmyk(20.6%, 56.9%, 0%, 2.7%)
CIE-LABlab(60.93, 58.77, -56.47)
CIE-LCHlch(60.93, 81.50, 316.14°)
OKLaboklab(68.81% 0.1405 -0.1585)
OKLCHoklch(68.81% 0.212 311.5)
XYZxyz(45.2239, 29.1640, 92.0356)
Luminance0.2916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56BF8 #9EF86B
analogous
#7F6BF8 #C56BF8 #F86BE4
triadic
#C56BF8 #F8C56B #6BF8C5
tetradic
#C56BF8 #F87F6B #9EF86B #6BE4F8
square
#C56BF8 #F87F6B #9EF86B #6BE4F8
split-complementary
#C56BF8 #E4F86B #6BF87F
monochromatic
#920BDE #AE31F5 #C56BF8 #DCA5FB #F3E0FE

Accessibility & contrast

On white

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

On black

6.83
#C56BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56BF8
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56BF8#FFFFFF#000000##000000
##C56BF81.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8FFD
Deuteranopia (green-blind)
#6095F5
Tritanopia (blue-blind)
#BF84A8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c56bf8;
/* rgb */ color: rgb(197, 107, 248);
/* oklch */ color: oklch(68.8% 0.212 311.5);
Tailwind
colors: {
  custom: {
    50: '#da99fb',
    500: '#c56bf8',
    950: '#000000',
  },
}
SCSS
$custom: #c56bf8;
$custom-light: #da99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c56bf8",
  "rgb": {
    "r": 197,
    "g": 107,
    "b": 248
  },
  "hsl": {
    "h": 278.298,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68813,
    "c": 0.21179,
    "h": 311.5
  },
  "luminance": 0.29163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C56BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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