#CD70FB#CD70FB

#CD70FB is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 70.6% C 0.210 H 313.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CD70FB
RGBrgb(205, 112, 251)
HSLhsl(280, 95%, 71%)
HSVhsv(280, 55%, 98%)
CMYKcmyk(18.3%, 55.4%, 0%, 1.6%)
CIE-LABlab(62.96, 58.90, -54.84)
CIE-LCHlch(62.96, 80.47, 317.04°)
OKLaboklab(70.56% 0.1439 -0.1535)
OKLCHoklch(70.56% 0.21 313.2)
XYZxyz(48.3806, 31.5338, 94.7861)
Luminance0.3153 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70FB #9EFB70
analogous
#8770FB #CD70FB #FB70E3
triadic
#CD70FB #FBCD70 #70FBCD
tetradic
#CD70FB #FB8770 #9EFB70 #70E3FB
square
#CD70FB #FB8770 #9EFB70 #70E3FB
split-complementary
#CD70FB #E3FB70 #70FB87
monochromatic
#9F07EA #B834F9 #CD70FB #E2ACFD #F5E1FE

Accessibility & contrast

On white

2.87
#CD70FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#CD70FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70FB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70FB#FFFFFF#000000##000000
##CD70FB1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FF
Deuteranopia (green-blind)
#6A9BF8
Tritanopia (blue-blind)
#C988AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd70fb;
/* rgb */ color: rgb(205, 112, 251);
/* oklch */ color: oklch(70.6% 0.210 313.2);
Tailwind
colors: {
  custom: {
    50: '#df9dfd',
    500: '#cd70fb',
    950: '#000000',
  },
}
SCSS
$custom: #cd70fb;
$custom-light: #df9dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70fb",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 280.144,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70557,
    "c": 0.21045,
    "h": 313.2
  },
  "luminance": 0.31533
}

Semantic roles & 50–950 ramp

primary
#CD70FB
secondary
#DDF6D1
accent
#E6004C
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #CD70FB

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

Preview Lab → · Contrast checker → · Palette generator →

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