#C56EE2#C56EE2

#C56EE2 is a light, vivid purple. Relative luminance 0.285; OKLCH L 68.0% C 0.184 H 317.1°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#C56EE2
RGBrgb(197, 110, 226)
HSLhsl(285, 67%, 66%)
HSVhsv(285, 51%, 89%)
CMYKcmyk(12.8%, 51.3%, 0%, 11.4%)
CIE-LABlab(60.35, 52.73, -45.16)
CIE-LCHlch(60.35, 69.42, 319.42°)
OKLaboklab(68.02% 0.1352 -0.1255)
OKLCHoklch(68.02% 0.184 317.1)
XYZxyz(42.3274, 28.5146, 75.2110)
Luminance0.2851 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56EE2 #8BE26E
analogous
#8B6EE2 #C56EE2 #E26EC5
triadic
#C56EE2 #E2C56E #6EE2C5
tetradic
#C56EE2 #E28B6E #8BE26E #6EC5E2
square
#C56EE2 #E28B6E #8BE26E #6EC5E2
split-complementary
#C56EE2 #C5E26E #6EE28B
monochromatic
#8E24B2 #B13BD8 #C56EE2 #D9A1EC #EED4F6

Accessibility & contrast

On white

3.13
#C56EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#C56EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56EE2
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56EE2#FFFFFF#000000##000000
##C56EE21.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#568CE6
Deuteranopia (green-blind)
#7194DF
Tritanopia (blue-blind)
#C47F9E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c56ee2;
/* rgb */ color: rgb(197, 110, 226);
/* oklch */ color: oklch(68.0% 0.184 317.1);
Tailwind
colors: {
  custom: {
    50: '#d99beb',
    500: '#c56ee2',
    950: '#000000',
  },
}
SCSS
$custom: #c56ee2;
$custom-light: #d99beb;
$custom-dark: #000000;
JSON
{
  "hex": "#c56ee2",
  "rgb": {
    "r": 197,
    "g": 110,
    "b": 226
  },
  "hsl": {
    "h": 285,
    "s": 66.667,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68021,
    "c": 0.18447,
    "h": 317.1
  },
  "luminance": 0.28513
}

Semantic roles & 50–950 ramp

primary
#C56EE2
secondary
#CCE9C3
accent
#CF1745
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C56EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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