#CD70E4#CD70E4

#CD70E4 is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.3% C 0.187 H 319.4°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#CD70E4
RGBrgb(205, 112, 228)
HSLhsl(288, 68%, 67%)
HSVhsv(288, 51%, 89%)
CMYKcmyk(10.1%, 50.9%, 0%, 10.6%)
CIE-LABlab(61.80, 54.27, -43.92)
CIE-LCHlch(61.80, 69.82, 321.02°)
OKLaboklab(69.33% 0.1421 -0.1218)
OKLCHoklch(69.33% 0.187 319.4)
XYZxyz(44.9728, 30.1706, 76.8383)
Luminance0.3017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70E4 #87E470
analogous
#9370E4 #CD70E4 #E470C1
triadic
#CD70E4 #E4CD70 #70E4CD
tetradic
#CD70E4 #E49370 #87E470 #70C1E4
square
#CD70E4 #E49370 #87E470 #70C1E4
split-complementary
#CD70E4 #C1E470 #70E493
monochromatic
#9A23B7 #BB3DDA #CD70E4 #DFA3EE #F1D7F7

Accessibility & contrast

On white

2.99
#CD70E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#CD70E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70E4
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70E4#FFFFFF#000000##000000
##CD70E41.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8FE8
Deuteranopia (green-blind)
#7899E1
Tritanopia (blue-blind)
#CE80A0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd70e4;
/* rgb */ color: rgb(205, 112, 228);
/* oklch */ color: oklch(69.3% 0.187 319.4);
Tailwind
colors: {
  custom: {
    50: '#de9ced',
    500: '#cd70e4',
    950: '#000000',
  },
}
SCSS
$custom: #cd70e4;
$custom-light: #de9ced;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70e4",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 228
  },
  "hsl": {
    "h": 288.103,
    "s": 68.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69333,
    "c": 0.18713,
    "h": 319.4
  },
  "luminance": 0.30169
}

Semantic roles & 50–950 ramp

primary
#CD70E4
secondary
#CDEBC5
accent
#D0153A
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD70E4

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

Preview Lab → · Contrast checker → · Palette generator →

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