#CD70E5#CD70E5

#CD70E5 is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.4% C 0.188 H 319.1°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#CD70E5
RGBrgb(205, 112, 229)
HSLhsl(288, 69%, 67%)
HSVhsv(288, 51%, 90%)
CMYKcmyk(10.5%, 51.1%, 0%, 10.2%)
CIE-LABlab(61.85, 54.46, -44.40)
CIE-LCHlch(61.85, 70.27, 320.81°)
OKLaboklab(69.38% 0.1422 -0.1232)
OKLCHoklch(69.38% 0.188 319.1)
XYZxyz(45.1120, 30.2263, 77.5715)
Luminance0.3023 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70E5 #88E570
analogous
#9370E5 #CD70E5 #E570C3
triadic
#CD70E5 #E5CD70 #70E5CD
tetradic
#CD70E5 #E59370 #88E570 #70C3E5
square
#CD70E5 #E59370 #88E570 #70C3E5
split-complementary
#CD70E5 #C3E570 #70E593
monochromatic
#9A22B9 #BB3CDC #CD70E5 #DFA4EE #F1D8F8

Accessibility & contrast

On white

2.98
#CD70E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#CD70E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70E5
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70E5#FFFFFF#000000##000000
##CD70E51.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8FE9
Deuteranopia (green-blind)
#7799E2
Tritanopia (blue-blind)
#CE81A0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd70e5;
/* rgb */ color: rgb(205, 112, 229);
/* oklch */ color: oklch(69.4% 0.188 319.1);
Tailwind
colors: {
  custom: {
    50: '#de9ced',
    500: '#cd70e5',
    950: '#000000',
  },
}
SCSS
$custom: #cd70e5;
$custom-light: #de9ced;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70e5",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 229
  },
  "hsl": {
    "h": 287.692,
    "s": 69.231,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69384,
    "c": 0.18812,
    "h": 319.1
  },
  "luminance": 0.30225
}

Semantic roles & 50–950 ramp

primary
#CD70E5
secondary
#CDEBC6
accent
#D1143B
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD70E5

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

Preview Lab → · Contrast checker → · Palette generator →

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