#CD70F6#CD70F6

#CD70F6 is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 70.3% C 0.205 H 314.4°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#CD70F6
RGBrgb(205, 112, 246)
HSLhsl(282, 88%, 70%)
HSVhsv(282, 54%, 96%)
CMYKcmyk(16.7%, 54.5%, 0%, 3.5%)
CIE-LABlab(62.70, 57.87, -52.49)
CIE-LCHlch(62.70, 78.13, 317.79°)
OKLaboklab(70.28% 0.1437 -0.1467)
OKLCHoklch(70.28% 0.205 314.4)
XYZxyz(47.6029, 31.2227, 90.6899)
Luminance0.3122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70F6 #99F670
analogous
#8A70F6 #CD70F6 #F670DC
triadic
#CD70F6 #F6CD70 #70F6CD
tetradic
#CD70F6 #F68A70 #99F670 #70DCF6
square
#CD70F6 #F68A70 #99F670 #70DCF6
split-complementary
#CD70F6 #DCF670 #70F68A
monochromatic
#9E0EDE #B936F2 #CD70F6 #E1AAFA #F5E2FD

Accessibility & contrast

On white

2.90
#CD70F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#CD70F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70F6
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70F6#FFFFFF#000000##000000
##CD70F61.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D92FA
Deuteranopia (green-blind)
#6D9AF3
Tritanopia (blue-blind)
#CA86A9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd70f6;
/* rgb */ color: rgb(205, 112, 246);
/* oklch */ color: oklch(70.3% 0.205 314.4);
Tailwind
colors: {
  custom: {
    50: '#df9dfa',
    500: '#cd70f6',
    950: '#000000',
  },
}
SCSS
$custom: #cd70f6;
$custom-light: #df9dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70f6",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 246
  },
  "hsl": {
    "h": 281.642,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70281,
    "c": 0.20532,
    "h": 314.4
  },
  "luminance": 0.31221
}

Semantic roles & 50–950 ramp

primary
#CD70F6
secondary
#DAF3CE
accent
#E50147
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E17
muted
#847E85

Preview Lab

Preview with #CD70F6

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

Preview Lab → · Contrast checker → · Palette generator →

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