#CD62C8#CD62C8

#CD62C8 is a light, vivid purple. Relative luminance 0.259; OKLCH L 66.1% C 0.183 H 329.2°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#CD62C8
RGBrgb(205, 98, 200)
HSLhsl(303, 52%, 59%)
HSVhsv(303, 52%, 80%)
CMYKcmyk(0%, 52.2%, 2.4%, 19.6%)
CIE-LABlab(57.93, 55.94, -34.22)
CIE-LCHlch(57.93, 65.57, 328.55°)
OKLaboklab(66.05% 0.1572 -0.0937)
OKLCHoklch(66.05% 0.183 329.2)
XYZxyz(39.9694, 25.8871, 57.5238)
Luminance0.2589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD62C8 #62CD67
analogous
#9D62CD #CD62C8 #CD6293
triadic
#CD62C8 #C8CD62 #62C8CD
tetradic
#CD62C8 #CD9D62 #62CD67 #6293CD
square
#CD62C8 #CD9D62 #62CD67 #6293CD
split-complementary
#CD62C8 #93CD62 #62CD9D
monochromatic
#892C85 #B73AB2 #CD62C8 #DC90D8 #EBBFE9

Accessibility & contrast

On white

3.40
#CD62C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#CD62C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD62C8
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD62C8#FFFFFF#000000##000000
##CD62C81.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A82CB
Deuteranopia (green-blind)
#7B90C5
Tritanopia (blue-blind)
#D36C8C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd62c8;
/* rgb */ color: rgb(205, 98, 200);
/* oklch */ color: oklch(66.1% 0.183 329.2);
Tailwind
colors: {
  custom: {
    50: '#df93d9',
    500: '#cd62c8',
    950: '#000000',
  },
}
SCSS
$custom: #cd62c8;
$custom-light: #df93d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd62c8",
  "rgb": {
    "r": 205,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 302.804,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.66054,
    "c": 0.18307,
    "h": 329.2
  },
  "luminance": 0.25885
}

Semantic roles & 50–950 ramp

primary
#CD62C8
secondary
#B1DAB3
accent
#DB534D
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CD62C8

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

Preview Lab → · Contrast checker → · Palette generator →

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