#CD70EA#CD70EA

#CD70EA is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.6% C 0.193 H 317.6°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#CD70EA
RGBrgb(205, 112, 234)
HSLhsl(286, 74%, 68%)
HSVhsv(286, 52%, 92%)
CMYKcmyk(12.4%, 52.1%, 0%, 8.2%)
CIE-LABlab(62.09, 55.45, -46.80)
CIE-LCHlch(62.09, 72.56, 319.83°)
OKLaboklab(69.64% 0.1427 -0.1301)
OKLCHoklch(69.64% 0.193 317.6)
XYZxyz(45.8202, 30.5096, 81.3013)
Luminance0.3051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70EA #8DEA70
analogous
#9070EA #CD70EA #EA70CA
triadic
#CD70EA #EACD70 #70EACD
tetradic
#CD70EA #EA9070 #8DEA70 #70CAEA
square
#CD70EA #EA9070 #8DEA70 #70CAEA
split-complementary
#CD70EA #CAEA70 #70EA90
monochromatic
#9B1DC3 #BA3BE2 #CD70EA #E0A5F2 #F2DBFA

Accessibility & contrast

On white

2.96
#CD70EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#CD70EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70EA
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70EA#FFFFFF#000000##000000
##CD70EA1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5790EE
Deuteranopia (green-blind)
#7499E7
Tritanopia (blue-blind)
#CC82A3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd70ea;
/* rgb */ color: rgb(205, 112, 234);
/* oklch */ color: oklch(69.6% 0.193 317.6);
Tailwind
colors: {
  custom: {
    50: '#df9cf1',
    500: '#cd70ea',
    950: '#000000',
  },
}
SCSS
$custom: #cd70ea;
$custom-light: #df9cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70ea",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 285.738,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69641,
    "c": 0.19314,
    "h": 317.6
  },
  "luminance": 0.30508
}

Semantic roles & 50–950 ramp

primary
#CD70EA
secondary
#D1EEC8
accent
#D70F3E
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CD70EA

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

Preview Lab → · Contrast checker → · Palette generator →

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