#CD70ED#CD70ED

#CD70ED is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.8% C 0.196 H 316.8°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#CD70ED
RGBrgb(205, 112, 237)
HSLhsl(285, 78%, 68%)
HSVhsv(285, 53%, 93%)
CMYKcmyk(13.5%, 52.7%, 0%, 7.1%)
CIE-LABlab(62.24, 56.05, -48.24)
CIE-LCHlch(62.24, 73.95, 319.28°)
OKLaboklab(69.8% 0.143 -0.1343)
OKLCHoklch(69.8% 0.196 316.8)
XYZxyz(46.2548, 30.6835, 83.5903)
Luminance0.3068 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70ED #90ED70
analogous
#8E70ED #CD70ED #ED70CE
triadic
#CD70ED #EDCD70 #70EDCD
tetradic
#CD70ED #ED8E70 #90ED70 #70CEED
square
#CD70ED #ED8E70 #90ED70 #70CEED
split-complementary
#CD70ED #CEED70 #70ED8E
monochromatic
#9C19C9 #BA3AE6 #CD70ED #E0A6F4 #F3DDFB

Accessibility & contrast

On white

2.94
#CD70ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#CD70ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70ED
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70ED#FFFFFF#000000##000000
##CD70ED1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5591F1
Deuteranopia (green-blind)
#7399EA
Tritanopia (blue-blind)
#CC83A4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd70ed;
/* rgb */ color: rgb(205, 112, 237);
/* oklch */ color: oklch(69.8% 0.196 316.8);
Tailwind
colors: {
  custom: {
    50: '#df9cf3',
    500: '#cd70ed',
    950: '#000000',
  },
}
SCSS
$custom: #cd70ed;
$custom-light: #df9cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70ed",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 237
  },
  "hsl": {
    "h": 284.64,
    "s": 77.64,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69798,
    "c": 0.19616,
    "h": 316.8
  },
  "luminance": 0.30682
}

Semantic roles & 50–950 ramp

primary
#CD70ED
secondary
#D3EFCA
accent
#DA0C40
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CD70ED

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

Preview Lab → · Contrast checker → · Palette generator →

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