#C56BF7#C56BF7

#C56BF7 is a light, highly saturated violet. Relative luminance 0.291; OKLCH L 68.8% C 0.211 H 311.8°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#C56BF7
RGBrgb(197, 107, 247)
HSLhsl(279, 90%, 69%)
HSVhsv(279, 57%, 97%)
CMYKcmyk(20.2%, 56.7%, 0%, 3.1%)
CIE-LABlab(60.87, 58.55, -56.00)
CIE-LCHlch(60.87, 81.03, 316.27°)
OKLaboklab(68.76% 0.1404 -0.1571)
OKLCHoklch(68.76% 0.211 311.8)
XYZxyz(45.0691, 29.1021, 91.2208)
Luminance0.2910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56BF7 #9DF76B
analogous
#7F6BF7 #C56BF7 #F76BE3
triadic
#C56BF7 #F7C56B #6BF7C5
tetradic
#C56BF7 #F77F6B #9DF76B #6BE3F7
square
#C56BF7 #F77F6B #9DF76B #6BE3F7
split-complementary
#C56BF7 #E3F76B #6BF77F
monochromatic
#910CDC #AE31F4 #C56BF7 #DCA5FA #F3DFFD

Accessibility & contrast

On white

3.08
#C56BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#C56BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56BF7
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56BF7#FFFFFF#000000##000000
##C56BF71.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8EFC
Deuteranopia (green-blind)
#6195F4
Tritanopia (blue-blind)
#BF84A7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c56bf7;
/* rgb */ color: rgb(197, 107, 247);
/* oklch */ color: oklch(68.8% 0.211 311.8);
Tailwind
colors: {
  custom: {
    50: '#da99fa',
    500: '#c56bf7',
    950: '#000000',
  },
}
SCSS
$custom: #c56bf7;
$custom-light: #da99fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c56bf7",
  "rgb": {
    "r": 197,
    "g": 107,
    "b": 247
  },
  "hsl": {
    "h": 278.571,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68756,
    "c": 0.21075,
    "h": 311.8
  },
  "luminance": 0.29101
}

Semantic roles & 50–950 ramp

primary
#C56BF7
secondary
#D9F3CB
accent
#E60052
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C56BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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