#CD70E7#CD70E7

#CD70E7 is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.5% C 0.190 H 318.5°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#CD70E7
RGBrgb(205, 112, 231)
HSLhsl(287, 71%, 67%)
HSVhsv(287, 52%, 91%)
CMYKcmyk(11.3%, 51.5%, 0%, 9.4%)
CIE-LABlab(61.95, 54.86, -45.37)
CIE-LCHlch(61.95, 71.19, 320.41°)
OKLaboklab(69.49% 0.1424 -0.126)
OKLCHoklch(69.49% 0.19 318.5)
XYZxyz(45.3929, 30.3387, 79.0506)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70E7 #8AE770
analogous
#9270E7 #CD70E7 #E770C5
triadic
#CD70E7 #E7CD70 #70E7CD
tetradic
#CD70E7 #E79270 #8AE770 #70C5E7
square
#CD70E7 #E79270 #8AE770 #70C5E7
split-complementary
#CD70E7 #C5E770 #70E792
monochromatic
#9B20BD #BB3CDE #CD70E7 #DFA4F0 #F2D9F9

Accessibility & contrast

On white

2.97
#CD70E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#CD70E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70E7
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70E7#FFFFFF#000000##000000
##CD70E71.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#598FEB
Deuteranopia (green-blind)
#7699E4
Tritanopia (blue-blind)
#CD81A1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd70e7;
/* rgb */ color: rgb(205, 112, 231);
/* oklch */ color: oklch(69.5% 0.190 318.5);
Tailwind
colors: {
  custom: {
    50: '#df9cef',
    500: '#cd70e7',
    950: '#000000',
  },
}
SCSS
$custom: #cd70e7;
$custom-light: #df9cef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70e7",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 231
  },
  "hsl": {
    "h": 286.891,
    "s": 71.257,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69486,
    "c": 0.19012,
    "h": 318.5
  },
  "luminance": 0.30337
}

Semantic roles & 50–950 ramp

primary
#CD70E7
secondary
#CFECC7
accent
#D3123C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD70E7

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

Preview Lab → · Contrast checker → · Palette generator →

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