#C56EF5#C56EF5

#C56EF5 is a light, highly saturated violet. Relative luminance 0.296; OKLCH L 69.0% C 0.204 H 312.0°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#C56EF5
RGBrgb(197, 110, 245)
HSLhsl(279, 87%, 70%)
HSVhsv(279, 55%, 96%)
CMYKcmyk(19.6%, 55.1%, 0%, 3.9%)
CIE-LABlab(61.32, 56.65, -54.18)
CIE-LCHlch(61.32, 78.39, 316.27°)
OKLaboklab(69.05% 0.1366 -0.1518)
OKLCHoklch(69.05% 0.204 312)
XYZxyz(45.0804, 29.6158, 89.7101)
Luminance0.2962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56EF5 #9EF56E
analogous
#826EF5 #C56EF5 #F56EE1
triadic
#C56EF5 #F5C56E #6EF5C5
tetradic
#C56EF5 #F5826E #9EF56E #6EE1F5
square
#C56EF5 #F5826E #9EF56E #6EE1F5
split-complementary
#C56EF5 #E1F56E #6EF582
monochromatic
#920FDA #AE35F1 #C56EF5 #DCA7F9 #F3E1FD

Accessibility & contrast

On white

3.03
#C56EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#C56EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56EF5
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56EF5#FFFFFF#000000##000000
##C56EF51.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4690F9
Deuteranopia (green-blind)
#6596F2
Tritanopia (blue-blind)
#C085A7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c56ef5;
/* rgb */ color: rgb(197, 110, 245);
/* oklch */ color: oklch(69.0% 0.204 312.0);
Tailwind
colors: {
  custom: {
    50: '#d99bf9',
    500: '#c56ef5',
    950: '#000000',
  },
}
SCSS
$custom: #c56ef5;
$custom-light: #d99bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#c56ef5",
  "rgb": {
    "r": 197,
    "g": 110,
    "b": 245
  },
  "hsl": {
    "h": 278.667,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6905,
    "c": 0.20423,
    "h": 312
  },
  "luminance": 0.29615
}

Semantic roles & 50–950 ramp

primary
#C56EF5
secondary
#DAF3CC
accent
#E40252
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C56EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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