#C562E7#C562E7

#C562E7 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 66.7% C 0.208 H 316.6°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#C562E7
RGBrgb(197, 98, 231)
HSLhsl(285, 73%, 65%)
HSVhsv(285, 58%, 91%)
CMYKcmyk(14.7%, 57.6%, 0%, 9.4%)
CIE-LABlab(58.39, 59.62, -51.05)
CIE-LCHlch(58.39, 78.49, 319.43°)
OKLaboklab(66.67% 0.151 -0.1426)
OKLCHoklch(66.67% 0.208 316.6)
XYZxyz(41.8153, 26.3767, 78.4743)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C562E7 #84E762
analogous
#8362E7 #C562E7 #E762C6
triadic
#C562E7 #E7C562 #62E7C5
tetradic
#C562E7 #E78362 #84E762 #62C6E7
square
#C562E7 #E78362 #84E762 #62C6E7
split-complementary
#C562E7 #C6E762 #62E783
monochromatic
#8C1BB3 #B12DDF #C562E7 #D997EF #ECCCF7

Accessibility & contrast

On white

3.35
#C562E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#C562E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C562E7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C562E7#FFFFFF#000000##000000
##C562E71.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F86EB
Deuteranopia (green-blind)
#648FE4
Tritanopia (blue-blind)
#C3789B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c562e7;
/* rgb */ color: rgb(197, 98, 231);
/* oklch */ color: oklch(66.7% 0.208 316.6);
Tailwind
colors: {
  custom: {
    50: '#d993ef',
    500: '#c562e7',
    950: '#000000',
  },
}
SCSS
$custom: #c562e7;
$custom-light: #d993ef;
$custom-dark: #000000;
JSON
{
  "hex": "#c562e7",
  "rgb": {
    "r": 197,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 284.662,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66667,
    "c": 0.20773,
    "h": 316.6
  },
  "luminance": 0.26375
}

Semantic roles & 50–950 ramp

primary
#C562E7
secondary
#C7E9BB
accent
#D61042
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C562E7

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

Preview Lab → · Contrast checker → · Palette generator →

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