#CD62D7#CD62D7

#CD62D7 is a light, vivid purple. Relative luminance 0.266; OKLCH L 66.8% C 0.196 H 324.1°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#CD62D7
RGBrgb(205, 98, 215)
HSLhsl(295, 59%, 61%)
HSVhsv(295, 54%, 84%)
CMYKcmyk(4.7%, 54.4%, 0%, 15.7%)
CIE-LABlab(58.62, 58.61, -41.63)
CIE-LCHlch(58.62, 71.89, 324.61°)
OKLaboklab(66.79% 0.1592 -0.1151)
OKLCHoklch(66.79% 0.196 324.1)
XYZxyz(41.8092, 26.6230, 67.2133)
Luminance0.2662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD62D7 #6CD762
analogous
#9362D7 #CD62D7 #D762A7
triadic
#CD62D7 #D7CD62 #62D7CD
tetradic
#CD62D7 #D79362 #6CD762 #62A7D7
square
#CD62D7 #D79362 #6CD762 #62A7D7
split-complementary
#CD62D7 #A7D762 #62D793
monochromatic
#8E2798 #BC33C9 #CD62D7 #DD93E3 #ECC4F0

Accessibility & contrast

On white

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

On black

6.32
#CD62D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD62D7
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD62D7#FFFFFF#000000##000000
##CD62D71.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5185DB
Deuteranopia (green-blind)
#7492D4
Tritanopia (blue-blind)
#D17193
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd62d7;
/* rgb */ color: rgb(205, 98, 215);
/* oklch */ color: oklch(66.8% 0.196 324.1);
Tailwind
colors: {
  custom: {
    50: '#df93e4',
    500: '#cd62d7',
    950: '#000000',
  },
}
SCSS
$custom: #cd62d7;
$custom-light: #df93e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd62d7",
  "rgb": {
    "r": 205,
    "g": 98,
    "b": 215
  },
  "hsl": {
    "h": 294.872,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66791,
    "c": 0.1964,
    "h": 324.1
  },
  "luminance": 0.26621
}

Semantic roles & 50–950 ramp

primary
#CD62D7
secondary
#B8E0B5
accent
#C71E2D
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#150D15
muted
#847E84

Preview Lab

Preview with #CD62D7

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

Preview Lab → · Contrast checker → · Palette generator →

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