#C56FEB#C56FEB

#C56FEB is a light, vivid purple. Relative luminance 0.292; OKLCH L 68.6% C 0.192 H 314.5°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#C56FEB
RGBrgb(197, 111, 235)
HSLhsl(282, 76%, 68%)
HSVhsv(282, 53%, 92%)
CMYKcmyk(16.2%, 52.8%, 0%, 7.8%)
CIE-LABlab(60.99, 54.06, -49.16)
CIE-LCHlch(60.99, 73.07, 317.72°)
OKLaboklab(68.64% 0.1347 -0.1372)
OKLCHoklch(68.64% 0.192 314.5)
XYZxyz(43.7034, 29.2386, 81.9226)
Luminance0.2924 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56FEB #95EB6F
analogous
#876FEB #C56FEB #EB6FD3
triadic
#C56FEB #EBC56F #6FEBC5
tetradic
#C56FEB #EB876F #95EB6F #6FD3EB
square
#C56FEB #EB876F #95EB6F #6FD3EB
split-complementary
#C56FEB #D3EB6F #6FEB87
monochromatic
#911BC4 #AF39E4 #C56FEB #DBA5F2 #F0DAFA

Accessibility & contrast

On white

3.07
#C56FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#C56FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56FEB
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56FEB#FFFFFF#000000##000000
##C56FEB1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEF
Deuteranopia (green-blind)
#6D95E8
Tritanopia (blue-blind)
#C283A3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c56feb;
/* rgb */ color: rgb(197, 111, 235);
/* oklch */ color: oklch(68.6% 0.192 314.5);
Tailwind
colors: {
  custom: {
    50: '#d99bf2',
    500: '#c56feb',
    950: '#000000',
  },
}
SCSS
$custom: #c56feb;
$custom-light: #d99bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c56feb",
  "rgb": {
    "r": 197,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 281.613,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6864,
    "c": 0.19224,
    "h": 314.5
  },
  "luminance": 0.29237
}

Semantic roles & 50–950 ramp

primary
#C56FEB
secondary
#D4EEC8
accent
#D80E4C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C56FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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