#C56BF2#C56BF2

#C56BF2 is a light, highly saturated purple. Relative luminance 0.288; OKLCH L 68.5% C 0.206 H 313.0°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#C56BF2
RGBrgb(197, 107, 242)
HSLhsl(280, 84%, 68%)
HSVhsv(280, 56%, 95%)
CMYKcmyk(18.6%, 55.8%, 0%, 5.1%)
CIE-LABlab(60.60, 57.51, -53.66)
CIE-LCHlch(60.60, 78.66, 316.98°)
OKLaboklab(68.47% 0.1402 -0.1503)
OKLCHoklch(68.47% 0.206 313)
XYZxyz(44.3079, 28.7977, 87.2116)
Luminance0.2880 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56BF2 #98F26B
analogous
#816BF2 #C56BF2 #F26BDB
triadic
#C56BF2 #F2C56B #6BF2C5
tetradic
#C56BF2 #F2816B #98F26B #6BDBF2
square
#C56BF2 #F2816B #98F26B #6BDBF2
split-complementary
#C56BF2 #DBF26B #6BF281
monochromatic
#9112D0 #AF33ED #C56BF2 #DBA3F7 #F1DCFC

Accessibility & contrast

On white

3.11
#C56BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#C56BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56BF2
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56BF2#FFFFFF#000000##000000
##C56BF21.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#448DF6
Deuteranopia (green-blind)
#6594EF
Tritanopia (blue-blind)
#C182A5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c56bf2;
/* rgb */ color: rgb(197, 107, 242);
/* oklch */ color: oklch(68.5% 0.206 313.0);
Tailwind
colors: {
  custom: {
    50: '#d999f7',
    500: '#c56bf2',
    950: '#000000',
  },
}
SCSS
$custom: #c56bf2;
$custom-light: #d999f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c56bf2",
  "rgb": {
    "r": 197,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 280,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68472,
    "c": 0.20557,
    "h": 313
  },
  "luminance": 0.28797
}

Semantic roles & 50–950 ramp

primary
#C56BF2
secondary
#D6F1C8
accent
#E0054E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C56BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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