#CD70EC#CD70EC

#CD70EC is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.7% C 0.195 H 317.1°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#CD70EC
RGBrgb(205, 112, 236)
HSLhsl(285, 77%, 68%)
HSVhsv(285, 53%, 93%)
CMYKcmyk(13.1%, 52.5%, 0%, 7.5%)
CIE-LABlab(62.19, 55.85, -47.76)
CIE-LCHlch(62.19, 73.48, 319.46°)
OKLaboklab(69.75% 0.1429 -0.1329)
OKLCHoklch(69.75% 0.195 317.1)
XYZxyz(46.1091, 30.6252, 82.8230)
Luminance0.3062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70EC #8FEC70
analogous
#8F70EC #CD70EC #EC70CD
triadic
#CD70EC #ECCD70 #70ECCD
tetradic
#CD70EC #EC8F70 #8FEC70 #70CDEC
square
#CD70EC #EC8F70 #8FEC70 #70CDEC
split-complementary
#CD70EC #CDEC70 #70EC8F
monochromatic
#9C1AC7 #BA3AE5 #CD70EC #E0A6F3 #F3DCFA

Accessibility & contrast

On white

2.95
#CD70EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#CD70EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70EC
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70EC#FFFFFF#000000##000000
##CD70EC1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590F0
Deuteranopia (green-blind)
#7399E9
Tritanopia (blue-blind)
#CC83A4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd70ec;
/* rgb */ color: rgb(205, 112, 236);
/* oklch */ color: oklch(69.7% 0.195 317.1);
Tailwind
colors: {
  custom: {
    50: '#df9cf2',
    500: '#cd70ec',
    950: '#000000',
  },
}
SCSS
$custom: #cd70ec;
$custom-light: #df9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70ec",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 285,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69746,
    "c": 0.19515,
    "h": 317.1
  },
  "luminance": 0.30624
}

Semantic roles & 50–950 ramp

primary
#CD70EC
secondary
#D2EFC9
accent
#D90D40
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CD70EC

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

Preview Lab → · Contrast checker → · Palette generator →

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