#CD62C7#CD62C7

#CD62C7 is a light, vivid purple. Relative luminance 0.258; OKLCH L 66.0% C 0.182 H 329.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#CD62C7
RGBrgb(205, 98, 199)
HSLhsl(303, 52%, 59%)
HSVhsv(303, 52%, 80%)
CMYKcmyk(0%, 52.2%, 2.9%, 19.6%)
CIE-LABlab(57.89, 55.76, -33.72)
CIE-LCHlch(57.89, 65.16, 328.84°)
OKLaboklab(66.01% 0.1571 -0.0923)
OKLCHoklch(66.01% 0.182 329.6)
XYZxyz(39.8529, 25.8405, 56.9103)
Luminance0.2584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD62C7 #62CD68
analogous
#9D62CD #CD62C7 #CD6292
triadic
#CD62C7 #C7CD62 #62C7CD
tetradic
#CD62C7 #CD9D62 #62CD68 #6292CD
square
#CD62C7 #CD9D62 #62CD68 #6292CD
split-complementary
#CD62C7 #92CD62 #62CD9D
monochromatic
#892C84 #B73AB0 #CD62C7 #DC90D8 #EBBFE8

Accessibility & contrast

On white

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

On black

6.17
#CD62C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD62C7
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD62C7#FFFFFF#000000##000000
##CD62C71.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B82CA
Deuteranopia (green-blind)
#7B90C4
Tritanopia (blue-blind)
#D46C8C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd62c7;
/* rgb */ color: rgb(205, 98, 199);
/* oklch */ color: oklch(66.0% 0.182 329.6);
Tailwind
colors: {
  custom: {
    50: '#df93d8',
    500: '#cd62c7',
    950: '#000000',
  },
}
SCSS
$custom: #cd62c7;
$custom-light: #df93d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd62c7",
  "rgb": {
    "r": 205,
    "g": 98,
    "b": 199
  },
  "hsl": {
    "h": 303.364,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.66007,
    "c": 0.1822,
    "h": 329.6
  },
  "luminance": 0.25838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD62C7

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

Preview Lab → · Contrast checker → · Palette generator →

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