#C56BF4#C56BF4

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

Color values

HEX#C56BF4
RGBrgb(197, 107, 244)
HSLhsl(279, 86%, 69%)
HSVhsv(279, 56%, 96%)
CMYKcmyk(19.3%, 56.1%, 0%, 4.3%)
CIE-LABlab(60.71, 57.92, -54.60)
CIE-LCHlch(60.71, 79.60, 316.69°)
OKLaboklab(68.58% 0.1403 -0.153)
OKLCHoklch(68.58% 0.208 312.5)
XYZxyz(44.6099, 28.9185, 88.8023)
Luminance0.2892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56BF4 #9AF46B
analogous
#816BF4 #C56BF4 #F46BDF
triadic
#C56BF4 #F4C56B #6BF4C5
tetradic
#C56BF4 #F4816B #9AF46B #6BDFF4
square
#C56BF4 #F4816B #9AF46B #6BDFF4
split-complementary
#C56BF4 #DFF46B #6BF481
monochromatic
#9110D5 #AF32F0 #C56BF4 #DBA4F8 #F2DDFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C56BF4#FFFFFF#000000##000000
##C56BF41.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)
#428EF8
Deuteranopia (green-blind)
#6394F1
Tritanopia (blue-blind)
#C083A6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c56bf4;
/* rgb */ color: rgb(197, 107, 244);
/* oklch */ color: oklch(68.6% 0.208 312.5);
Tailwind
colors: {
  custom: {
    50: '#da99f8',
    500: '#c56bf4',
    950: '#000000',
  },
}
SCSS
$custom: #c56bf4;
$custom-light: #da99f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c56bf4",
  "rgb": {
    "r": 197,
    "g": 107,
    "b": 244
  },
  "hsl": {
    "h": 279.416,
    "s": 86.164,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68585,
    "c": 0.20764,
    "h": 312.5
  },
  "luminance": 0.28917
}

Semantic roles & 50–950 ramp

primary
#C56BF4
secondary
#D7F2C9
accent
#E30350
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C56BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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