#C56EFA#C56EFA

#C56EFA is a light, highly saturated violet. Relative luminance 0.299; OKLCH L 69.3% C 0.209 H 310.8°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#C56EFA
RGBrgb(197, 110, 250)
HSLhsl(277, 93%, 71%)
HSVhsv(277, 56%, 98%)
CMYKcmyk(21.2%, 56%, 0%, 2%)
CIE-LABlab(61.59, 57.71, -56.52)
CIE-LCHlch(61.59, 80.77, 315.60°)
OKLaboklab(69.33% 0.1368 -0.1587)
OKLCHoklch(69.33% 0.21 310.8)
XYZxyz(45.8540, 29.9252, 93.7845)
Luminance0.2992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56EFA #A3FA6E
analogous
#7F6EFA #C56EFA #FA6EE9
triadic
#C56EFA #FAC56E #6EFAC5
tetradic
#C56EFA #FA7F6E #A3FA6E #6EE9FA
square
#C56EFA #FA7F6E #A3FA6E #6EE9FA
split-complementary
#C56EFA #E9FA6E #6EFA7F
monochromatic
#9208E6 #AD33F8 #C56EFA #DDA9FC #F3E1FE

Accessibility & contrast

On white

3.01
#C56EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#C56EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56EFA
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56EFA#FFFFFF#000000##000000
##C56EFA1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4191FF
Deuteranopia (green-blind)
#6296F7
Tritanopia (blue-blind)
#BF87AA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c56efa;
/* rgb */ color: rgb(197, 110, 250);
/* oklch */ color: oklch(69.3% 0.209 310.8);
Tailwind
colors: {
  custom: {
    50: '#da9bfc',
    500: '#c56efa',
    950: '#000000',
  },
}
SCSS
$custom: #c56efa;
$custom-light: #da9bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c56efa",
  "rgb": {
    "r": 197,
    "g": 110,
    "b": 250
  },
  "hsl": {
    "h": 277.286,
    "s": 93.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69334,
    "c": 0.2095,
    "h": 310.8
  },
  "luminance": 0.29924
}

Semantic roles & 50–950 ramp

primary
#C56EFA
secondary
#DDF5CF
accent
#E60057
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C56EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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