#CD70F9#CD70F9

#CD70F9 is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 70.4% C 0.208 H 313.6°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#CD70F9
RGBrgb(205, 112, 249)
HSLhsl(281, 92%, 71%)
HSVhsv(281, 55%, 98%)
CMYKcmyk(17.7%, 55%, 0%, 2.4%)
CIE-LABlab(62.85, 58.48, -53.90)
CIE-LCHlch(62.85, 79.53, 317.33°)
OKLaboklab(70.45% 0.1438 -0.1508)
OKLCHoklch(70.45% 0.208 313.6)
XYZxyz(48.0670, 31.4083, 93.1345)
Luminance0.3141 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70F9 #9CF970
analogous
#8870F9 #CD70F9 #F970E0
triadic
#CD70F9 #F9CD70 #70F9CD
tetradic
#CD70F9 #F98870 #9CF970 #70E0F9
square
#CD70F9 #F98870 #9CF970 #70E0F9
split-complementary
#CD70F9 #E0F970 #70F988
monochromatic
#9F0AE5 #B835F7 #CD70F9 #E2ABFB #F5E2FE

Accessibility & contrast

On white

2.88
#CD70F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#CD70F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70F9
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70F9#FFFFFF#000000##000000
##CD70F91.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd70f9;
/* rgb */ color: rgb(205, 112, 249);
/* oklch */ color: oklch(70.4% 0.208 313.6);
Tailwind
colors: {
  custom: {
    50: '#df9dfc',
    500: '#cd70f9',
    950: '#000000',
  },
}
SCSS
$custom: #cd70f9;
$custom-light: #df9dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70f9",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 249
  },
  "hsl": {
    "h": 280.73,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70446,
    "c": 0.20839,
    "h": 313.6
  },
  "luminance": 0.31407
}

Semantic roles & 50–950 ramp

primary
#CD70F9
secondary
#DCF5D0
accent
#E6004A
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #CD70F9

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

Preview Lab → · Contrast checker → · Palette generator →

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