#CD70F0#CD70F0

#CD70F0 is a light, vivid purple. Relative luminance 0.309; OKLCH L 70.0% C 0.199 H 316.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#CD70F0
RGBrgb(205, 112, 240)
HSLhsl(284, 81%, 69%)
HSVhsv(284, 53%, 94%)
CMYKcmyk(14.6%, 53.3%, 0%, 5.9%)
CIE-LABlab(62.39, 56.65, -49.66)
CIE-LCHlch(62.39, 75.34, 318.76°)
OKLaboklab(69.96% 0.1432 -0.1384)
OKLCHoklch(69.96% 0.199 316)
XYZxyz(46.6968, 30.8602, 85.9180)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70F0 #93F070
analogous
#8D70F0 #CD70F0 #F070D3
triadic
#CD70F0 #F0CD70 #70F0CD
tetradic
#CD70F0 #F08D70 #93F070 #70D3F0
square
#CD70F0 #F08D70 #93F070 #70D3F0
split-complementary
#CD70F0 #D3F070 #70F08D
monochromatic
#9D16D0 #BA39EA #CD70F0 #E0A7F6 #F4DFFC

Accessibility & contrast

On white

2.93
#CD70F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#CD70F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70F0
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70F0#FFFFFF#000000##000000
##CD70F01.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5291F4
Deuteranopia (green-blind)
#719AED
Tritanopia (blue-blind)
#CB84A6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd70f0;
/* rgb */ color: rgb(205, 112, 240);
/* oklch */ color: oklch(70.0% 0.199 316.0);
Tailwind
colors: {
  custom: {
    50: '#df9cf5',
    500: '#cd70f0',
    950: '#000000',
  },
}
SCSS
$custom: #cd70f0;
$custom-light: #df9cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70f0",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 240
  },
  "hsl": {
    "h": 283.594,
    "s": 81.013,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69958,
    "c": 0.19921,
    "h": 316
  },
  "luminance": 0.30859
}

Semantic roles & 50–950 ramp

primary
#CD70F0
secondary
#D5F1CB
accent
#DD0842
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #CD70F0

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

Preview Lab → · Contrast checker → · Palette generator →

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