#CD73EC#CD73EC

#CD73EC is a light, vivid purple. Relative luminance 0.313; OKLCH L 70.2% C 0.191 H 316.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#CD73EC
RGBrgb(205, 115, 236)
HSLhsl(285, 76%, 69%)
HSVhsv(285, 51%, 93%)
CMYKcmyk(13.1%, 51.3%, 0%, 7.5%)
CIE-LABlab(62.76, 54.35, -46.86)
CIE-LCHlch(62.76, 71.76, 319.23°)
OKLaboklab(70.17% 0.1389 -0.1303)
OKLCHoklch(70.17% 0.191 316.8)
XYZxyz(46.4457, 31.2983, 82.9352)
Luminance0.3130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD73EC #92EC73
analogous
#9173EC #CD73EC #EC73CF
triadic
#CD73EC #ECCD73 #73ECCD
tetradic
#CD73EC #EC9173 #92EC73 #73CFEC
square
#CD73EC #EC9173 #92EC73 #73CFEC
split-complementary
#CD73EC #CFEC73 #73EC91
monochromatic
#9D1BC9 #BA3DE5 #CD73EC #E0A9F3 #F3DFFB

Accessibility & contrast

On white

2.89
#CD73EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#CD73EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD73EC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD73EC#FFFFFF#000000##000000
##CD73EC1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92F0
Deuteranopia (green-blind)
#769BE9
Tritanopia (blue-blind)
#CC85A5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd73ec;
/* rgb */ color: rgb(205, 115, 236);
/* oklch */ color: oklch(70.2% 0.191 316.8);
Tailwind
colors: {
  custom: {
    50: '#df9ef2',
    500: '#cd73ec',
    950: '#000000',
  },
}
SCSS
$custom: #cd73ec;
$custom-light: #df9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd73ec",
  "rgb": {
    "r": 205,
    "g": 115,
    "b": 236
  },
  "hsl": {
    "h": 284.628,
    "s": 76.101,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70165,
    "c": 0.1905,
    "h": 316.8
  },
  "luminance": 0.31297
}

Semantic roles & 50–950 ramp

primary
#CD73EC
secondary
#D5EFCC
accent
#D80D41
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CD73EC

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

Preview Lab → · Contrast checker → · Palette generator →

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