#CD62F8#CD62F8

#CD62F8 is a light, highly saturated purple. Relative luminance 0.285; OKLCH L 68.6% C 0.227 H 315.0°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#CD62F8
RGBrgb(205, 98, 248)
HSLhsl(283, 91%, 68%)
HSVhsv(283, 60%, 97%)
CMYKcmyk(17.3%, 60.5%, 0%, 2.7%)
CIE-LABlab(60.33, 64.92, -57.36)
CIE-LCHlch(60.33, 86.63, 318.54°)
OKLaboklab(68.59% 0.1609 -0.1608)
OKLCHoklch(68.59% 0.227 315)
XYZxyz(46.4851, 28.4933, 91.8398)
Luminance0.2849 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD62F8 #8DF862
analogous
#8262F8 #CD62F8 #F862D8
triadic
#CD62F8 #F8CD62 #62F8CD
tetradic
#CD62F8 #F88262 #8DF862 #62D8F8
square
#CD62F8 #F88262 #8DF862 #62D8F8
split-complementary
#CD62F8 #D8F862 #62F882
monochromatic
#9B0AD6 #BA27F5 #CD62F8 #E09DFB #F2D7FD

Accessibility & contrast

On white

3.14
#CD62F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#CD62F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD62F8
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD62F8#FFFFFF#000000##000000
##CD62F81.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#308BFD
Deuteranopia (green-blind)
#5F94F4
Tritanopia (blue-blind)
#CA7DA4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cd62f8;
/* rgb */ color: rgb(205, 98, 248);
/* oklch */ color: oklch(68.6% 0.227 315.0);
Tailwind
colors: {
  custom: {
    50: '#e094fb',
    500: '#cd62f8',
    950: '#000000',
  },
}
SCSS
$custom: #cd62f8;
$custom-light: #e094fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd62f8",
  "rgb": {
    "r": 205,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 282.8,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68591,
    "c": 0.22747,
    "h": 315
  },
  "luminance": 0.28492
}

Semantic roles & 50–950 ramp

primary
#CD62F8
secondary
#D1F2C4
accent
#E60042
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #CD62F8

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

Preview Lab → · Contrast checker → · Palette generator →

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