#CD70F2#CD70F2

#CD70F2 is a light, highly saturated purple. Relative luminance 0.310; OKLCH L 70.1% C 0.201 H 315.4°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CD70F2
RGBrgb(205, 112, 242)
HSLhsl(283, 83%, 69%)
HSVhsv(283, 54%, 95%)
CMYKcmyk(15.3%, 53.7%, 0%, 5.1%)
CIE-LABlab(62.49, 57.05, -50.61)
CIE-LCHlch(62.49, 76.27, 318.43°)
OKLaboklab(70.07% 0.1434 -0.1412)
OKLCHoklch(70.07% 0.201 315.4)
XYZxyz(46.9955, 30.9797, 87.4913)
Luminance0.3098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70F2 #95F270
analogous
#8C70F2 #CD70F2 #F270D6
triadic
#CD70F2 #F2CD70 #70F2CD
tetradic
#CD70F2 #F28C70 #95F270 #70D6F2
square
#CD70F2 #F28C70 #95F270 #70D6F2
split-complementary
#CD70F2 #D6F270 #70F28C
monochromatic
#9D13D4 #B938ED #CD70F2 #E1A8F7 #F4E0FC

Accessibility & contrast

On white

2.92
#CD70F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#CD70F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70F2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70F2#FFFFFF#000000##000000
##CD70F21.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5192F6
Deuteranopia (green-blind)
#709AEF
Tritanopia (blue-blind)
#CB85A7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd70f2;
/* rgb */ color: rgb(205, 112, 242);
/* oklch */ color: oklch(70.1% 0.201 315.4);
Tailwind
colors: {
  custom: {
    50: '#df9cf7',
    500: '#cd70f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd70f2;
$custom-light: #df9cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70f2",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 282.923,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70065,
    "c": 0.20124,
    "h": 315.4
  },
  "luminance": 0.30978
}

Semantic roles & 50–950 ramp

primary
#CD70F2
secondary
#D7F2CC
accent
#E00644
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E17
muted
#847E85

Preview Lab

Preview with #CD70F2

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

Preview Lab → · Contrast checker → · Palette generator →

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