#CD62D8#CD62D8

#CD62D8 is a light, vivid purple. Relative luminance 0.267; OKLCH L 66.8% C 0.197 H 323.8°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#CD62D8
RGBrgb(205, 98, 216)
HSLhsl(294, 60%, 62%)
HSVhsv(294, 55%, 85%)
CMYKcmyk(5.1%, 54.6%, 0%, 15.3%)
CIE-LABlab(58.67, 58.79, -42.12)
CIE-LCHlch(58.67, 72.32, 324.38°)
OKLaboklab(66.84% 0.1593 -0.1165)
OKLCHoklch(66.84% 0.197 323.8)
XYZxyz(41.9380, 26.6745, 67.8921)
Luminance0.2667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD62D8 #6DD862
analogous
#9262D8 #CD62D8 #D862A8
triadic
#CD62D8 #D8CD62 #62D8CD
tetradic
#CD62D8 #D89262 #6DD862 #62A8D8
square
#CD62D8 #D89262 #6DD862 #62A8D8
split-complementary
#CD62D8 #A8D862 #62D892
monochromatic
#8F2699 #BC32CA #CD62D8 #DD93E4 #ECC4F0

Accessibility & contrast

On white

3.32
#CD62D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#CD62D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD62D8
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD62D8#FFFFFF#000000##000000
##CD62D81.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5085DC
Deuteranopia (green-blind)
#7392D5
Tritanopia (blue-blind)
#D17294
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd62d8;
/* rgb */ color: rgb(205, 98, 216);
/* oklch */ color: oklch(66.8% 0.197 323.8);
Tailwind
colors: {
  custom: {
    50: '#df93e4',
    500: '#cd62d8',
    950: '#000000',
  },
}
SCSS
$custom: #cd62d8;
$custom-light: #df93e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd62d8",
  "rgb": {
    "r": 205,
    "g": 98,
    "b": 216
  },
  "hsl": {
    "h": 294.407,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66842,
    "c": 0.19731,
    "h": 323.8
  },
  "luminance": 0.26672
}

Semantic roles & 50–950 ramp

primary
#CD62D8
secondary
#B9E1B5
accent
#C81E2D
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#150D15
muted
#847E84

Preview Lab

Preview with #CD62D8

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

Preview Lab → · Contrast checker → · Palette generator →

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