#CD70FD#CD70FD

#CD70FD is a light, highly saturated violet. Relative luminance 0.317; OKLCH L 70.7% C 0.212 H 312.7°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#CD70FD
RGBrgb(205, 112, 253)
HSLhsl(280, 97%, 72%)
HSVhsv(280, 56%, 99%)
CMYKcmyk(19%, 55.7%, 0%, 0.8%)
CIE-LABlab(63.06, 59.31, -55.77)
CIE-LCHlch(63.06, 81.41, 316.76°)
OKLaboklab(70.67% 0.144 -0.1562)
OKLCHoklch(70.67% 0.213 312.7)
XYZxyz(48.6975, 31.6605, 96.4553)
Luminance0.3166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70FD #A0FD70
analogous
#8770FD #CD70FD #FD70E7
triadic
#CD70FD #FDCD70 #70FDCD
tetradic
#CD70FD #FD8770 #A0FD70 #70E7FD
square
#CD70FD #FD8770 #A0FD70 #70E7FD
split-complementary
#CD70FD #E7FD70 #70FD87
monochromatic
#9F03EF #B834FC #CD70FD #E2ACFE #F4E1FF

Accessibility & contrast

On white

2.86
#CD70FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#CD70FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70FD
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70FD#FFFFFF#000000##000000
##CD70FD1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4794FF
Deuteranopia (green-blind)
#689BF9
Tritanopia (blue-blind)
#C888AC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd70fd;
/* rgb */ color: rgb(205, 112, 253);
/* oklch */ color: oklch(70.7% 0.212 312.7);
Tailwind
colors: {
  custom: {
    50: '#df9dff',
    500: '#cd70fd',
    950: '#000000',
  },
}
SCSS
$custom: #cd70fd;
$custom-light: #df9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70fd",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 253
  },
  "hsl": {
    "h": 279.574,
    "s": 97.241,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70669,
    "c": 0.2125,
    "h": 312.7
  },
  "luminance": 0.31659
}

Semantic roles & 50–950 ramp

primary
#CD70FD
secondary
#DFF7D2
accent
#E6004E
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #CD70FD

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

Preview Lab → · Contrast checker → · Palette generator →

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