#CD70DB#CD70DB

#CD70DB is a light, vivid purple. Relative luminance 0.297; OKLCH L 68.9% C 0.178 H 322.2°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#CD70DB
RGBrgb(205, 112, 219)
HSLhsl(292, 60%, 65%)
HSVhsv(292, 49%, 86%)
CMYKcmyk(6.4%, 48.9%, 0%, 14.1%)
CIE-LABlab(61.38, 52.54, -39.55)
CIE-LCHlch(61.38, 65.76, 323.03°)
OKLaboklab(68.88% 0.1409 -0.1092)
OKLCHoklch(68.88% 0.178 322.2)
XYZxyz(43.7558, 29.6839, 70.4288)
Luminance0.2968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70DB #7EDB70
analogous
#9870DB #CD70DB #DB70B3
triadic
#CD70DB #DBCD70 #70DBCD
tetradic
#CD70DB #DB9870 #7EDB70 #70B3DB
square
#CD70DB #DB9870 #7EDB70 #70B3DB
split-complementary
#CD70DB #B3DB70 #70DB98
monochromatic
#962AA7 #BC3FCF #CD70DB #DEA1E7 #EFD2F4

Accessibility & contrast

On white

3.03
#CD70DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#CD70DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD70DB
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70DB#FFFFFF#000000##000000
##CD70DB1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#618DDF
Deuteranopia (green-blind)
#7C98D8
Tritanopia (blue-blind)
#D07E9C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd70db;
/* rgb */ color: rgb(205, 112, 219);
/* oklch */ color: oklch(68.9% 0.178 322.2);
Tailwind
colors: {
  custom: {
    50: '#de9ce6',
    500: '#cd70db',
    950: '#000000',
  },
}
SCSS
$custom: #cd70db;
$custom-light: #de9ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70db",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 292.15,
    "s": 59.777,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68884,
    "c": 0.17826,
    "h": 322.2
  },
  "luminance": 0.29682
}

Semantic roles & 50–950 ramp

primary
#CD70DB
secondary
#C6E6C1
accent
#C71E34
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD70DB

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

Preview Lab → · Contrast checker → · Palette generator →

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