#CD62E4#CD62E4

#CD62E4 is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.5% C 0.208 H 320.2°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#CD62E4
RGBrgb(205, 98, 228)
HSLhsl(289, 71%, 64%)
HSVhsv(289, 57%, 89%)
CMYKcmyk(10.1%, 57%, 0%, 10.6%)
CIE-LABlab(59.27, 61.03, -47.92)
CIE-LCHlch(59.27, 77.59, 321.86°)
OKLaboklab(67.47% 0.1602 -0.1333)
OKLCHoklch(67.47% 0.208 320.2)
XYZxyz(43.5464, 27.3179, 76.3628)
Luminance0.2732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD62E4 #79E462
analogous
#8C62E4 #CD62E4 #E462BA
triadic
#CD62E4 #E4CD62 #62E4CD
tetradic
#CD62E4 #E48C62 #79E462 #62BAE4
square
#CD62E4 #E48C62 #79E462 #62BAE4
split-complementary
#CD62E4 #BAE462 #62E48C
monochromatic
#941EAE #BC2EDB #CD62E4 #DE96ED #EECAF6

Accessibility & contrast

On white

3.25
#CD62E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#CD62E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD62E4
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD62E4#FFFFFF#000000##000000
##CD62E41.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4787E8
Deuteranopia (green-blind)
#6D93E1
Tritanopia (blue-blind)
#CE769A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cd62e4;
/* rgb */ color: rgb(205, 98, 228);
/* oklch */ color: oklch(67.5% 0.208 320.2);
Tailwind
colors: {
  custom: {
    50: '#df94ed',
    500: '#cd62e4',
    950: '#000000',
  },
}
SCSS
$custom: #cd62e4;
$custom-light: #df94ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd62e4",
  "rgb": {
    "r": 205,
    "g": 98,
    "b": 228
  },
  "hsl": {
    "h": 289.385,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67472,
    "c": 0.20844,
    "h": 320.2
  },
  "luminance": 0.27316
}

Semantic roles & 50–950 ramp

primary
#CD62E4
secondary
#C2E8BA
accent
#D31335
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD62E4

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

Preview Lab → · Contrast checker → · Palette generator →

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