#C56BEF#C56BEF

#C56BEF is a light, highly saturated purple. Relative luminance 0.286; OKLCH L 68.3% C 0.202 H 313.8°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#C56BEF
RGBrgb(197, 107, 239)
HSLhsl(281, 80%, 68%)
HSVhsv(281, 55%, 94%)
CMYKcmyk(17.6%, 55.2%, 0%, 6.3%)
CIE-LABlab(60.44, 56.88, -52.25)
CIE-LCHlch(60.44, 77.24, 317.43°)
OKLaboklab(68.3% 0.1401 -0.1462)
OKLCHoklch(68.3% 0.202 313.8)
XYZxyz(43.8610, 28.6189, 84.8581)
Luminance0.2862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56BEF #95EF6B
analogous
#836BEF #C56BEF #EF6BD7
triadic
#C56BEF #EFC56B #6BEFC5
tetradic
#C56BEF #EF836B #95EF6B #6BD7EF
square
#C56BEF #EF836B #95EF6B #6BD7EF
split-complementary
#C56BEF #D7EF6B #6BEF83
monochromatic
#9116CA #AF34E9 #C56BEF #DBA2F5 #F0D9FB

Accessibility & contrast

On white

3.12
#C56BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#C56BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56BEF
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56BEF#FFFFFF#000000##000000
##C56BEF1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#478DF3
Deuteranopia (green-blind)
#6794EC
Tritanopia (blue-blind)
#C181A3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c56bef;
/* rgb */ color: rgb(197, 107, 239);
/* oklch */ color: oklch(68.3% 0.202 313.8);
Tailwind
colors: {
  custom: {
    50: '#d999f5',
    500: '#c56bef',
    950: '#000000',
  },
}
SCSS
$custom: #c56bef;
$custom-light: #d999f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c56bef",
  "rgb": {
    "r": 197,
    "g": 107,
    "b": 239
  },
  "hsl": {
    "h": 280.909,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68304,
    "c": 0.20247,
    "h": 313.8
  },
  "luminance": 0.28618
}

Semantic roles & 50–950 ramp

primary
#C56BEF
secondary
#D4EFC7
accent
#DD094C
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #C56BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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