#CD62C2#CD62C2

#CD62C2 is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.8% C 0.178 H 331.4°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#CD62C2
RGBrgb(205, 98, 194)
HSLhsl(306, 52%, 59%)
HSVhsv(306, 52%, 80%)
CMYKcmyk(0%, 52.2%, 5.4%, 19.6%)
CIE-LABlab(57.67, 54.91, -31.20)
CIE-LCHlch(57.67, 63.16, 330.39°)
OKLaboklab(65.77% 0.1563 -0.0851)
OKLCHoklch(65.77% 0.178 331.4)
XYZxyz(39.2819, 25.6121, 53.9031)
Luminance0.2561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD62C2 #62CD6D
analogous
#A362CD #CD62C2 #CD628D
triadic
#CD62C2 #C2CD62 #62C2CD
tetradic
#CD62C2 #CDA362 #62CD6D #628DCD
square
#CD62C2 #CDA362 #62CD6D #628DCD
split-complementary
#CD62C2 #8DCD62 #62CDA3
monochromatic
#892C7F #B73AAB #CD62C2 #DC90D4 #EBBFE6

Accessibility & contrast

On white

3.43
#CD62C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#CD62C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD62C2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD62C2#FFFFFF#000000##000000
##CD62C21.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E81C5
Deuteranopia (green-blind)
#7D90BF
Tritanopia (blue-blind)
#D46A89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd62c2;
/* rgb */ color: rgb(205, 98, 194);
/* oklch */ color: oklch(65.8% 0.178 331.4);
Tailwind
colors: {
  custom: {
    50: '#df93d4',
    500: '#cd62c2',
    950: '#000000',
  },
}
SCSS
$custom: #cd62c2;
$custom-light: #df93d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd62c2",
  "rgb": {
    "r": 205,
    "g": 98,
    "b": 194
  },
  "hsl": {
    "h": 306.168,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65774,
    "c": 0.17795,
    "h": 331.4
  },
  "luminance": 0.2561
}

Semantic roles & 50–950 ramp

primary
#CD62C2
secondary
#B1DAB5
accent
#DB5B4D
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CD62C2

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

Preview Lab → · Contrast checker → · Palette generator →

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