#C56EFE#C56EFE

#C56EFE is a light, highly saturated violet. Relative luminance 0.302; OKLCH L 69.6% C 0.214 H 309.8°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#C56EFE
RGBrgb(197, 110, 254)
HSLhsl(276, 99%, 71%)
HSVhsv(276, 57%, 100%)
CMYKcmyk(22.4%, 56.7%, 0%, 0.4%)
CIE-LABlab(61.81, 58.57, -58.37)
CIE-LCHlch(61.81, 82.69, 315.10°)
OKLaboklab(69.56% 0.1369 -0.1641)
OKLCHoklch(69.56% 0.214 309.8)
XYZxyz(46.4879, 30.1788, 97.1228)
Luminance0.3018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56EFE #A7FE6E
analogous
#7D6EFE #C56EFE #FE6EEF
triadic
#C56EFE #FEC56E #6EFEC5
tetradic
#C56EFE #FE7D6E #A7FE6E #6EEFFE
square
#C56EFE #FE7D6E #A7FE6E #6EEFFE
split-complementary
#C56EFE #EFFE6E #6EFE7D
monochromatic
#9202F0 #AD31FE #C56EFE #DDABFE #F3E1FF

Accessibility & contrast

On white

2.98
#C56EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#C56EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C56EFE
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56EFE#FFFFFF#000000##000000
##C56EFE1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D91FF
Deuteranopia (green-blind)
#5F97FB
Tritanopia (blue-blind)
#BD88AC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c56efe;
/* rgb */ color: rgb(197, 110, 254);
/* oklch */ color: oklch(69.6% 0.214 309.8);
Tailwind
colors: {
  custom: {
    50: '#da9bff',
    500: '#c56efe',
    950: '#000000',
  },
}
SCSS
$custom: #c56efe;
$custom-light: #da9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#c56efe",
  "rgb": {
    "r": 197,
    "g": 110,
    "b": 254
  },
  "hsl": {
    "h": 276.25,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69564,
    "c": 0.21371,
    "h": 309.8
  },
  "luminance": 0.30178
}

Semantic roles & 50–950 ramp

primary
#C56EFE
secondary
#E0F7D1
accent
#E6005B
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C56EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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