#CD62C4#CD62C4

#CD62C4 is a light, vivid purple. Relative luminance 0.257; OKLCH L 65.9% C 0.180 H 330.7°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#CD62C4
RGBrgb(205, 98, 196)
HSLhsl(305, 52%, 59%)
HSVhsv(305, 52%, 80%)
CMYKcmyk(0%, 52.2%, 4.4%, 19.6%)
CIE-LABlab(57.75, 55.25, -32.21)
CIE-LCHlch(57.75, 63.95, 329.76°)
OKLaboklab(65.87% 0.1566 -0.088)
OKLCHoklch(65.87% 0.18 330.7)
XYZxyz(39.5080, 25.7025, 55.0940)
Luminance0.2570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD62C4 #62CD6B
analogous
#A162CD #CD62C4 #CD628F
triadic
#CD62C4 #C4CD62 #62C4CD
tetradic
#CD62C4 #CDA162 #62CD6B #628FCD
square
#CD62C4 #CDA162 #62CD6B #628FCD
split-complementary
#CD62C4 #8FCD62 #62CDA1
monochromatic
#892C81 #B73AAD #CD62C4 #DC90D5 #EBBFE7

Accessibility & contrast

On white

3.42
#CD62C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#CD62C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD62C4
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD62C4#FFFFFF#000000##000000
##CD62C41.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D81C7
Deuteranopia (green-blind)
#7D90C1
Tritanopia (blue-blind)
#D46B8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd62c4;
/* rgb */ color: rgb(205, 98, 196);
/* oklch */ color: oklch(65.9% 0.180 330.7);
Tailwind
colors: {
  custom: {
    50: '#df93d6',
    500: '#cd62c4',
    950: '#000000',
  },
}
SCSS
$custom: #cd62c4;
$custom-light: #df93d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd62c4",
  "rgb": {
    "r": 205,
    "g": 98,
    "b": 196
  },
  "hsl": {
    "h": 305.047,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65867,
    "c": 0.17964,
    "h": 330.7
  },
  "luminance": 0.257
}

Semantic roles & 50–950 ramp

primary
#CD62C4
secondary
#B1DAB4
accent
#DB594D
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CD62C4

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

Preview Lab → · Contrast checker → · Palette generator →

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