#CD62EC#CD62EC

#CD62EC is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 67.9% C 0.216 H 318.0°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#CD62EC
RGBrgb(205, 98, 236)
HSLhsl(287, 78%, 65%)
HSVhsv(287, 58%, 93%)
CMYKcmyk(13.1%, 58.5%, 0%, 7.5%)
CIE-LABlab(59.68, 62.56, -51.73)
CIE-LCHlch(59.68, 81.18, 320.41°)
OKLaboklab(67.91% 0.1606 -0.1444)
OKLCHoklch(67.91% 0.216 318)
XYZxyz(44.6828, 27.7724, 82.3475)
Luminance0.2777 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD62EC #81EC62
analogous
#8862EC #CD62EC #EC62C6
triadic
#CD62EC #ECCD62 #62ECCD
tetradic
#CD62EC #EC8862 #81EC62 #62C6EC
square
#CD62EC #EC8862 #81EC62 #62C6EC
split-complementary
#CD62EC #C6EC62 #62EC88
monochromatic
#9717BD #BC2BE5 #CD62EC #DE99F3 #F0CFF9

Accessibility & contrast

On white

3.20
#CD62EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#CD62EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD62EC
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD62EC#FFFFFF#000000##000000
##CD62EC1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F89F0
Deuteranopia (green-blind)
#6893E8
Tritanopia (blue-blind)
#CD799E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cd62ec;
/* rgb */ color: rgb(205, 98, 236);
/* oklch */ color: oklch(67.9% 0.216 318.0);
Tailwind
colors: {
  custom: {
    50: '#df94f3',
    500: '#cd62ec',
    950: '#000000',
  },
}
SCSS
$custom: #cd62ec;
$custom-light: #df94f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd62ec",
  "rgb": {
    "r": 205,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 286.522,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67909,
    "c": 0.21599,
    "h": 318
  },
  "luminance": 0.27771
}

Semantic roles & 50–950 ramp

primary
#CD62EC
secondary
#C8ECBE
accent
#DB0B3A
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #CD62EC

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

Preview Lab → · Contrast checker → · Palette generator →

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