#CD70EB#CD70EB

#CD70EB is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.7% C 0.194 H 317.3°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#CD70EB
RGBrgb(205, 112, 235)
HSLhsl(285, 75%, 68%)
HSVhsv(285, 52%, 92%)
CMYKcmyk(12.8%, 52.3%, 0%, 7.8%)
CIE-LABlab(62.14, 55.65, -47.28)
CIE-LCHlch(62.14, 73.02, 319.65°)
OKLaboklab(69.69% 0.1428 -0.1315)
OKLCHoklch(69.69% 0.194 317.3)
XYZxyz(45.9643, 30.5672, 82.0600)
Luminance0.3057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70EB #8EEB70
analogous
#8F70EB #CD70EB #EB70CB
triadic
#CD70EB #EBCD70 #70EBCD
tetradic
#CD70EB #EB8F70 #8EEB70 #70CBEB
square
#CD70EB #EB8F70 #8EEB70 #70CBEB
split-complementary
#CD70EB #CBEB70 #70EB8F
monochromatic
#9C1CC5 #BA3AE3 #CD70EB #E0A6F3 #F3DBFA

Accessibility & contrast

On white

2.95
#CD70EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#CD70EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70EB
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70EB#FFFFFF#000000##000000
##CD70EB1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EF
Deuteranopia (green-blind)
#7499E8
Tritanopia (blue-blind)
#CC83A3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd70eb;
/* rgb */ color: rgb(205, 112, 235);
/* oklch */ color: oklch(69.7% 0.194 317.3);
Tailwind
colors: {
  custom: {
    50: '#df9cf2',
    500: '#cd70eb',
    950: '#000000',
  },
}
SCSS
$custom: #cd70eb;
$custom-light: #df9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70eb",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 285.366,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69693,
    "c": 0.19414,
    "h": 317.3
  },
  "luminance": 0.30566
}

Semantic roles & 50–950 ramp

primary
#CD70EB
secondary
#D2EEC9
accent
#D80E3F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CD70EB

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

Preview Lab → · Contrast checker → · Palette generator →

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