#C562DF#C562DF

#C562DF is a light, vivid purple. Relative luminance 0.259; OKLCH L 66.2% C 0.200 H 318.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#C562DF
RGBrgb(197, 98, 223)
HSLhsl(288, 66%, 63%)
HSVhsv(288, 56%, 87%)
CMYKcmyk(11.7%, 56.1%, 0%, 12.5%)
CIE-LABlab(57.98, 58.04, -47.23)
CIE-LCHlch(57.98, 74.83, 320.87°)
OKLaboklab(66.23% 0.1506 -0.1315)
OKLCHoklch(66.23% 0.2 318.9)
XYZxyz(40.7112, 25.9350, 72.6592)
Luminance0.2593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C562DF #7CDF62
analogous
#8662DF #C562DF #DF62BA
triadic
#C562DF #DFC562 #62DFC5
tetradic
#C562DF #DF8662 #7CDF62 #62BADF
square
#C562DF #DF8662 #7CDF62 #62BADF
split-complementary
#C562DF #BADF62 #62DF86
monochromatic
#8A22A5 #B22FD5 #C562DF #D895E9 #EBC8F4

Accessibility & contrast

On white

3.39
#C562DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#C562DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C562DF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C562DF#FFFFFF#000000##000000
##C562DF1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4785E3
Deuteranopia (green-blind)
#698FDC
Tritanopia (blue-blind)
#C57597
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c562df;
/* rgb */ color: rgb(197, 98, 223);
/* oklch */ color: oklch(66.2% 0.200 318.9);
Tailwind
colors: {
  custom: {
    50: '#d993e9',
    500: '#c562df',
    950: '#000000',
  },
}
SCSS
$custom: #c562df;
$custom-light: #d993e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c562df",
  "rgb": {
    "r": 197,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 287.52,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66226,
    "c": 0.19992,
    "h": 318.9
  },
  "luminance": 0.25933
}

Semantic roles & 50–950 ramp

primary
#C562DF
secondary
#C1E5B8
accent
#CE173D
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C562DF

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

Preview Lab → · Contrast checker → · Palette generator →

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