#CD70E6#CD70E6

#CD70E6 is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.4% C 0.189 H 318.8°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#CD70E6
RGBrgb(205, 112, 230)
HSLhsl(287, 70%, 67%)
HSVhsv(287, 51%, 90%)
CMYKcmyk(10.9%, 51.3%, 0%, 9.8%)
CIE-LABlab(61.90, 54.66, -44.88)
CIE-LCHlch(61.90, 70.73, 320.61°)
OKLaboklab(69.44% 0.1423 -0.1246)
OKLCHoklch(69.44% 0.189 318.8)
XYZxyz(45.2520, 30.2823, 78.3090)
Luminance0.3028 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70E6 #89E670
analogous
#9270E6 #CD70E6 #E670C4
triadic
#CD70E6 #E6CD70 #70E6CD
tetradic
#CD70E6 #E69270 #89E670 #70C4E6
square
#CD70E6 #E69270 #89E670 #70C4E6
split-complementary
#CD70E6 #C4E670 #70E692
monochromatic
#9A21BB #BB3CDD #CD70E6 #DFA4EF #F1D8F8

Accessibility & contrast

On white

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

On black

7.06
#CD70E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70E6
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70E6#FFFFFF#000000##000000
##CD70E61.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8FEA
Deuteranopia (green-blind)
#7799E3
Tritanopia (blue-blind)
#CD81A1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd70e6;
/* rgb */ color: rgb(205, 112, 230);
/* oklch */ color: oklch(69.4% 0.189 318.8);
Tailwind
colors: {
  custom: {
    50: '#df9cee',
    500: '#cd70e6',
    950: '#000000',
  },
}
SCSS
$custom: #cd70e6;
$custom-light: #df9cee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70e6",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 230
  },
  "hsl": {
    "h": 287.288,
    "s": 70.238,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69435,
    "c": 0.18912,
    "h": 318.8
  },
  "luminance": 0.30281
}

Semantic roles & 50–950 ramp

primary
#CD70E6
secondary
#CEECC6
accent
#D2133C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD70E6

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

Preview Lab → · Contrast checker → · Palette generator →

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