#CD70E2#CD70E2

#CD70E2 is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.2% C 0.185 H 320.0°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#CD70E2
RGBrgb(205, 112, 226)
HSLhsl(289, 66%, 66%)
HSVhsv(289, 50%, 89%)
CMYKcmyk(9.3%, 50.4%, 0%, 11.4%)
CIE-LABlab(61.71, 53.88, -42.95)
CIE-LCHlch(61.71, 68.91, 321.44°)
OKLaboklab(69.23% 0.1418 -0.119)
OKLCHoklch(69.23% 0.185 320)
XYZxyz(44.6968, 30.0602, 75.3845)
Luminance0.3006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70E2 #85E270
analogous
#9470E2 #CD70E2 #E270BE
triadic
#CD70E2 #E2CD70 #70E2CD
tetradic
#CD70E2 #E29470 #85E270 #70BEE2
square
#CD70E2 #E29470 #85E270 #70BEE2
split-complementary
#CD70E2 #BEE270 #70E294
monochromatic
#9924B3 #BB3DD8 #CD70E2 #DFA3EC #F1D6F7

Accessibility & contrast

On white

3.00
#CD70E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#CD70E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70E2
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70E2#FFFFFF#000000##000000
##CD70E21.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8FE6
Deuteranopia (green-blind)
#7998DF
Tritanopia (blue-blind)
#CE809F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd70e2;
/* rgb */ color: rgb(205, 112, 226);
/* oklch */ color: oklch(69.2% 0.185 320.0);
Tailwind
colors: {
  custom: {
    50: '#de9ceb',
    500: '#cd70e2',
    950: '#000000',
  },
}
SCSS
$custom: #cd70e2;
$custom-light: #de9ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70e2",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 226
  },
  "hsl": {
    "h": 288.947,
    "s": 66.279,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69231,
    "c": 0.18514,
    "h": 320
  },
  "luminance": 0.30058
}

Semantic roles & 50–950 ramp

primary
#CD70E2
secondary
#CBEAC4
accent
#CE1739
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD70E2

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

Preview Lab → · Contrast checker → · Palette generator →

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