#CD70FC#CD70FC

#CD70FC is a light, highly saturated violet. Relative luminance 0.316; OKLCH L 70.6% C 0.211 H 312.9°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#CD70FC
RGBrgb(205, 112, 252)
HSLhsl(280, 96%, 71%)
HSVhsv(280, 56%, 99%)
CMYKcmyk(18.7%, 55.6%, 0%, 1.2%)
CIE-LABlab(63.01, 59.10, -55.30)
CIE-LCHlch(63.01, 80.94, 316.90°)
OKLaboklab(70.61% 0.144 -0.1549)
OKLCHoklch(70.61% 0.211 312.9)
XYZxyz(48.5387, 31.5970, 95.6185)
Luminance0.3160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70FC #9FFC70
analogous
#8770FC #CD70FC #FC70E5
triadic
#CD70FC #FCCD70 #70FCCD
tetradic
#CD70FC #FC8770 #9FFC70 #70E5FC
square
#CD70FC #FC8770 #9FFC70 #70E5FC
split-complementary
#CD70FC #E5FC70 #70FC87
monochromatic
#9F05ED #B834FB #CD70FC #E2ACFD #F5E1FE

Accessibility & contrast

On white

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

On black

7.32
#CD70FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70FC
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70FC#FFFFFF#000000##000000
##CD70FC1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FF
Deuteranopia (green-blind)
#699BF8
Tritanopia (blue-blind)
#C888AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd70fc;
/* rgb */ color: rgb(205, 112, 252);
/* oklch */ color: oklch(70.6% 0.211 312.9);
Tailwind
colors: {
  custom: {
    50: '#df9dfe',
    500: '#cd70fc',
    950: '#000000',
  },
}
SCSS
$custom: #cd70fc;
$custom-light: #df9dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70fc",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 252
  },
  "hsl": {
    "h": 279.857,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70613,
    "c": 0.21147,
    "h": 312.9
  },
  "luminance": 0.31596
}

Semantic roles & 50–950 ramp

primary
#CD70FC
secondary
#DEF6D2
accent
#E6004D
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #CD70FC

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

Preview Lab → · Contrast checker → · Palette generator →

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