#CD70E8#CD70E8

#CD70E8 is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.5% C 0.191 H 318.2°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#CD70E8
RGBrgb(205, 112, 232)
HSLhsl(287, 72%, 67%)
HSVhsv(287, 52%, 91%)
CMYKcmyk(11.6%, 51.7%, 0%, 9%)
CIE-LABlab(61.99, 55.05, -45.85)
CIE-LCHlch(61.99, 71.64, 320.21°)
OKLaboklab(69.54% 0.1425 -0.1274)
OKLCHoklch(69.54% 0.191 318.2)
XYZxyz(45.5345, 30.3953, 79.7966)
Luminance0.3039 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70E8 #8BE870
analogous
#9170E8 #CD70E8 #E870C7
triadic
#CD70E8 #E8CD70 #70E8CD
tetradic
#CD70E8 #E89170 #8BE870 #70C7E8
square
#CD70E8 #E89170 #8BE870 #70C7E8
split-complementary
#CD70E8 #C7E870 #70E891
monochromatic
#9B1FBF #BB3BE0 #CD70E8 #DFA5F0 #F2D9F9

Accessibility & contrast

On white

2.97
#CD70E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#CD70E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70E8
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70E8#FFFFFF#000000##000000
##CD70E81.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5890EC
Deuteranopia (green-blind)
#7699E5
Tritanopia (blue-blind)
#CD82A2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd70e8;
/* rgb */ color: rgb(205, 112, 232);
/* oklch */ color: oklch(69.5% 0.191 318.2);
Tailwind
colors: {
  custom: {
    50: '#df9cf0',
    500: '#cd70e8',
    950: '#000000',
  },
}
SCSS
$custom: #cd70e8;
$custom-light: #df9cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70e8",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 232
  },
  "hsl": {
    "h": 286.5,
    "s": 72.289,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69538,
    "c": 0.19113,
    "h": 318.2
  },
  "luminance": 0.30394
}

Semantic roles & 50–950 ramp

primary
#CD70E8
secondary
#D0EDC7
accent
#D4113D
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD70E8

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

Preview Lab → · Contrast checker → · Palette generator →

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