#CD70C8#CD70C8

#CD70C8 is a light, vivid purple. Relative luminance 0.287; OKLCH L 68.0% C 0.160 H 329.2°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#CD70C8
RGBrgb(205, 112, 200)
HSLhsl(303, 48%, 62%)
HSVhsv(303, 45%, 80%)
CMYKcmyk(0%, 45.4%, 2.4%, 19.6%)
CIE-LABlab(60.55, 49.04, -30.14)
CIE-LCHlch(60.55, 57.56, 328.43°)
OKLaboklab(68% 0.1377 -0.0822)
OKLCHoklch(68% 0.16 329.2)
XYZxyz(41.3958, 28.7398, 57.9993)
Luminance0.2874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70C8 #70CD75
analogous
#A470CD #CD70C8 #CD709A
triadic
#CD70C8 #C8CD70 #70C8CD
tetradic
#CD70C8 #CDA470 #70CD75 #709ACD
square
#CD70C8 #CDA470 #70CD75 #709ACD
split-complementary
#CD70C8 #9ACD70 #70CDA4
monochromatic
#90328B #BD43B7 #CD70C8 #DD9DD9 #EDCBEB

Accessibility & contrast

On white

3.11
#CD70C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#CD70C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD70C8
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70C8#FFFFFF#000000##000000
##CD70C81.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8ACB
Deuteranopia (green-blind)
#8497C5
Tritanopia (blue-blind)
#D37893
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd70c8;
/* rgb */ color: rgb(205, 112, 200);
/* oklch */ color: oklch(68.0% 0.160 329.2);
Tailwind
colors: {
  custom: {
    50: '#de9cd9',
    500: '#cd70c8',
    950: '#000000',
  },
}
SCSS
$custom: #cd70c8;
$custom-light: #de9cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70c8",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 200
  },
  "hsl": {
    "h": 303.226,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67997,
    "c": 0.16036,
    "h": 329.2
  },
  "luminance": 0.28738
}

Semantic roles & 50–950 ramp

primary
#CD70C8
secondary
#BBDDBD
accent
#BB322A
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E14
muted
#837E83

Preview Lab

Preview with #CD70C8

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

Preview Lab → · Contrast checker → · Palette generator →

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