#CD70FE#CD70FE

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

Color values

HEX#CD70FE
RGBrgb(205, 112, 254)
HSLhsl(279, 99%, 72%)
HSVhsv(279, 56%, 100%)
CMYKcmyk(19.3%, 55.9%, 0%, 0.4%)
CIE-LABlab(63.11, 59.52, -56.23)
CIE-LCHlch(63.11, 81.88, 316.63°)
OKLaboklab(70.73% 0.1441 -0.1576)
OKLCHoklch(70.73% 0.214 312.4)
XYZxyz(48.8573, 31.7244, 97.2964)
Luminance0.3172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70FE #A1FE70
analogous
#8670FE #CD70FE #FE70E8
triadic
#CD70FE #FECD70 #70FECD
tetradic
#CD70FE #FE8670 #A1FE70 #70E8FE
square
#CD70FE #FE8670 #A1FE70 #70E8FE
split-complementary
#CD70FE #E8FE70 #70FE86
monochromatic
#9F02F2 #B833FE #CD70FE #E2ADFE #F4E1FF

Accessibility & contrast

On white

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

On black

7.34
#CD70FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70FE
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70FE#FFFFFF#000000##000000
##CD70FE1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4694FF
Deuteranopia (green-blind)
#689BFA
Tritanopia (blue-blind)
#C889AD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd70fe;
/* rgb */ color: rgb(205, 112, 254);
/* oklch */ color: oklch(70.7% 0.214 312.4);
Tailwind
colors: {
  custom: {
    50: '#df9dff',
    500: '#cd70fe',
    950: '#000000',
  },
}
SCSS
$custom: #cd70fe;
$custom-light: #df9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70fe",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 254
  },
  "hsl": {
    "h": 279.296,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70725,
    "c": 0.21353,
    "h": 312.4
  },
  "luminance": 0.31723
}

Semantic roles & 50–950 ramp

primary
#CD70FE
secondary
#DFF7D3
accent
#E6004F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #CD70FE

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

Preview Lab → · Contrast checker → · Palette generator →

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