#CD70E3#CD70E3

#CD70E3 is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.3% C 0.186 H 319.7°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#CD70E3
RGBrgb(205, 112, 227)
HSLhsl(289, 67%, 66%)
HSVhsv(289, 51%, 89%)
CMYKcmyk(9.7%, 50.7%, 0%, 11%)
CIE-LABlab(61.75, 54.07, -43.44)
CIE-LCHlch(61.75, 69.36, 321.22°)
OKLaboklab(69.28% 0.1419 -0.1204)
OKLCHoklch(69.28% 0.186 319.7)
XYZxyz(44.8344, 30.1153, 76.1093)
Luminance0.3011 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70E3 #86E370
analogous
#9470E3 #CD70E3 #E370C0
triadic
#CD70E3 #E3CD70 #70E3CD
tetradic
#CD70E3 #E39470 #86E370 #70C0E3
square
#CD70E3 #E39470 #86E370 #70C0E3
split-complementary
#CD70E3 #C0E370 #70E394
monochromatic
#9923B5 #BB3DD9 #CD70E3 #DFA3ED #F1D6F7

Accessibility & contrast

On white

2.99
#CD70E3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#CD70E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70E3
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70E3#FFFFFF#000000##000000
##CD70E31.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8FE7
Deuteranopia (green-blind)
#7899E0
Tritanopia (blue-blind)
#CE809F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd70e3;
/* rgb */ color: rgb(205, 112, 227);
/* oklch */ color: oklch(69.3% 0.186 319.7);
Tailwind
colors: {
  custom: {
    50: '#de9cec',
    500: '#cd70e3',
    950: '#000000',
  },
}
SCSS
$custom: #cd70e3;
$custom-light: #de9cec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70e3",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 227
  },
  "hsl": {
    "h": 288.522,
    "s": 67.251,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69282,
    "c": 0.18613,
    "h": 319.7
  },
  "luminance": 0.30114
}

Semantic roles & 50–950 ramp

primary
#CD70E3
secondary
#CCEAC5
accent
#CF163A
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD70E3

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

Preview Lab → · Contrast checker → · Palette generator →

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