#CD70DF#CD70DF

#CD70DF is a light, vivid purple. Relative luminance 0.299; OKLCH L 69.1% C 0.182 H 320.9°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#CD70DF
RGBrgb(205, 112, 223)
HSLhsl(290, 63%, 66%)
HSVhsv(290, 50%, 87%)
CMYKcmyk(8.1%, 49.8%, 0%, 12.5%)
CIE-LABlab(61.57, 53.30, -41.50)
CIE-LCHlch(61.57, 67.55, 322.10°)
OKLaboklab(69.08% 0.1415 -0.1148)
OKLCHoklch(69.08% 0.182 320.9)
XYZxyz(44.2887, 29.8970, 73.2355)
Luminance0.2989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70DF #82DF70
analogous
#9570DF #CD70DF #DF70BA
triadic
#CD70DF #DFCD70 #70DFCD
tetradic
#CD70DF #DF9570 #82DF70 #70BADF
square
#CD70DF #DF9570 #82DF70 #70BADF
split-complementary
#CD70DF #BADF70 #70DF95
monochromatic
#9827AE #BC3ED4 #CD70DF #DEA2EA #F0D4F5

Accessibility & contrast

On white

3.01
#CD70DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#CD70DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD70DF
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70DF#FFFFFF#000000##000000
##CD70DF1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8EE3
Deuteranopia (green-blind)
#7A98DC
Tritanopia (blue-blind)
#CF7F9D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd70df;
/* rgb */ color: rgb(205, 112, 223);
/* oklch */ color: oklch(69.1% 0.182 320.9);
Tailwind
colors: {
  custom: {
    50: '#de9ce9',
    500: '#cd70df',
    950: '#000000',
  },
}
SCSS
$custom: #cd70df;
$custom-light: #de9ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70df",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 290.27,
    "s": 63.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.69081,
    "c": 0.18217,
    "h": 320.9
  },
  "luminance": 0.29895
}

Semantic roles & 50–950 ramp

primary
#CD70DF
secondary
#C9E8C3
accent
#CB1A37
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD70DF

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

Preview Lab → · Contrast checker → · Palette generator →

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