#CD70F8#CD70F8

#CD70F8 is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.4% C 0.207 H 313.9°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CD70F8
RGBrgb(205, 112, 248)
HSLhsl(281, 91%, 71%)
HSVhsv(281, 55%, 97%)
CMYKcmyk(17.3%, 54.8%, 0%, 2.7%)
CIE-LABlab(62.80, 58.28, -53.43)
CIE-LCHlch(62.80, 79.07, 317.48°)
OKLaboklab(70.39% 0.1438 -0.1494)
OKLCHoklch(70.39% 0.207 313.9)
XYZxyz(47.9115, 31.3461, 92.3153)
Luminance0.3135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70F8 #9BF870
analogous
#8970F8 #CD70F8 #F870DF
triadic
#CD70F8 #F8CD70 #70F8CD
tetradic
#CD70F8 #F88970 #9BF870 #70DFF8
square
#CD70F8 #F88970 #9BF870 #70DFF8
split-complementary
#CD70F8 #DFF870 #70F889
monochromatic
#9E0BE3 #B936F5 #CD70F8 #E1AAFB #F5E2FE

Accessibility & contrast

On white

2.89
#CD70F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#CD70F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70F8
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70F8#FFFFFF#000000##000000
##CD70F81.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B93FC
Deuteranopia (green-blind)
#6C9AF5
Tritanopia (blue-blind)
#C987AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd70f8;
/* rgb */ color: rgb(205, 112, 248);
/* oklch */ color: oklch(70.4% 0.207 313.9);
Tailwind
colors: {
  custom: {
    50: '#df9dfb',
    500: '#cd70f8',
    950: '#000000',
  },
}
SCSS
$custom: #cd70f8;
$custom-light: #df9dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70f8",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 281.029,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70391,
    "c": 0.20737,
    "h": 313.9
  },
  "luminance": 0.31345
}

Semantic roles & 50–950 ramp

primary
#CD70F8
secondary
#DBF4CF
accent
#E60049
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150F17
muted
#847E85

Preview Lab

Preview with #CD70F8

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

Preview Lab → · Contrast checker → · Palette generator →

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