#C56FEF#C56FEF

#C56FEF is a light, vivid purple. Relative luminance 0.295; OKLCH L 68.9% C 0.196 H 313.4°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#C56FEF
RGBrgb(197, 111, 239)
HSLhsl(280, 80%, 69%)
HSVhsv(280, 54%, 94%)
CMYKcmyk(17.6%, 53.6%, 0%, 6.3%)
CIE-LABlab(61.20, 54.89, -51.06)
CIE-LCHlch(61.20, 74.96, 317.07°)
OKLaboklab(68.86% 0.135 -0.1427)
OKLCHoklch(68.86% 0.196 313.4)
XYZxyz(44.2878, 29.4723, 85.0004)
Luminance0.2947 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56FEF #99EF6F
analogous
#856FEF #C56FEF #EF6FD9
triadic
#C56FEF #EFC56F #6FEFC5
tetradic
#C56FEF #EF856F #99EF6F #6FD9EF
square
#C56FEF #EF856F #99EF6F #6FD9EF
split-complementary
#C56FEF #D9EF6F #6FEF85
monochromatic
#9117CD #AF38E9 #C56FEF #DBA6F5 #F1DDFB

Accessibility & contrast

On white

3.05
#C56FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#C56FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56FEF
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56FEF#FFFFFF#000000##000000
##C56FEF1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8FF3
Deuteranopia (green-blind)
#6A96EC
Tritanopia (blue-blind)
#C184A5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c56fef;
/* rgb */ color: rgb(197, 111, 239);
/* oklch */ color: oklch(68.9% 0.196 313.4);
Tailwind
colors: {
  custom: {
    50: '#d99bf5',
    500: '#c56fef',
    950: '#000000',
  },
}
SCSS
$custom: #c56fef;
$custom-light: #d99bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#c56fef",
  "rgb": {
    "r": 197,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 280.313,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68857,
    "c": 0.19643,
    "h": 313.4
  },
  "luminance": 0.29471
}

Semantic roles & 50–950 ramp

primary
#C56FEF
secondary
#D6F0CA
accent
#DC094E
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #C56FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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