#CD70CB#CD70CB

#CD70CB is a light, vivid purple. Relative luminance 0.289; OKLCH L 68.1% C 0.163 H 328.0°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#CD70CB
RGBrgb(205, 112, 203)
HSLhsl(301, 48%, 62%)
HSVhsv(301, 45%, 80%)
CMYKcmyk(0%, 45.4%, 1%, 19.6%)
CIE-LABlab(60.68, 49.58, -31.64)
CIE-LCHlch(60.68, 58.81, 327.45°)
OKLaboklab(68.13% 0.1383 -0.0865)
OKLCHoklch(68.13% 0.163 328)
XYZxyz(41.7498, 28.8815, 59.8639)
Luminance0.2888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70CB #70CD72
analogous
#A070CD #CD70CB #CD709D
triadic
#CD70CB #CBCD70 #70CBCD
tetradic
#CD70CB #CDA070 #70CD72 #709DCD
square
#CD70CB #CDA070 #70CD72 #709DCD
split-complementary
#CD70CB #9DCD70 #70CDA0
monochromatic
#90328E #BD43BB #CD70CB #DD9DDB #EDCBEC

Accessibility & contrast

On white

3.10
#CD70CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#CD70CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD70CB
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70CB#FFFFFF#000000##000000
##CD70CB1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BCE
Deuteranopia (green-blind)
#8397C8
Tritanopia (blue-blind)
#D27994
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd70cb;
/* rgb */ color: rgb(205, 112, 203);
/* oklch */ color: oklch(68.1% 0.163 328.0);
Tailwind
colors: {
  custom: {
    50: '#de9cdb',
    500: '#cd70cb',
    950: '#000000',
  },
}
SCSS
$custom: #cd70cb;
$custom-light: #de9cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70cb",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 301.29,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68132,
    "c": 0.16309,
    "h": 328
  },
  "luminance": 0.28879
}

Semantic roles & 50–950 ramp

primary
#CD70CB
secondary
#BBDDBC
accent
#BB2D2A
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CD70CB

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

Preview Lab → · Contrast checker → · Palette generator →

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