#CD70F3#CD70F3

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

Color values

HEX#CD70F3
RGBrgb(205, 112, 243)
HSLhsl(283, 85%, 70%)
HSVhsv(283, 54%, 95%)
CMYKcmyk(15.6%, 53.9%, 0%, 4.7%)
CIE-LABlab(62.54, 57.26, -51.08)
CIE-LCHlch(62.54, 76.73, 318.26°)
OKLaboklab(70.12% 0.1435 -0.1426)
OKLCHoklch(70.12% 0.202 315.2)
XYZxyz(47.1461, 31.0400, 88.2844)
Luminance0.3104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70F3 #96F370
analogous
#8B70F3 #CD70F3 #F370D8
triadic
#CD70F3 #F3CD70 #70F3CD
tetradic
#CD70F3 #F38B70 #96F370 #70D8F3
square
#CD70F3 #F38B70 #96F370 #70D8F3
split-complementary
#CD70F3 #D8F370 #70F38B
monochromatic
#9E12D7 #B938EE #CD70F3 #E1A8F8 #F4E1FC

Accessibility & contrast

On white

2.91
#CD70F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#CD70F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70F3
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70F3#FFFFFF#000000##000000
##CD70F31.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5092F7
Deuteranopia (green-blind)
#6F9AF0
Tritanopia (blue-blind)
#CA85A7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd70f3;
/* rgb */ color: rgb(205, 112, 243);
/* oklch */ color: oklch(70.1% 0.202 315.2);
Tailwind
colors: {
  custom: {
    50: '#df9df7',
    500: '#cd70f3',
    950: '#000000',
  },
}
SCSS
$custom: #cd70f3;
$custom-light: #df9df7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70f3",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 243
  },
  "hsl": {
    "h": 282.595,
    "s": 84.516,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70119,
    "c": 0.20225,
    "h": 315.2
  },
  "luminance": 0.31039
}

Semantic roles & 50–950 ramp

primary
#CD70F3
secondary
#D8F2CD
accent
#E10544
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E17
muted
#847E85

Preview Lab

Preview with #CD70F3

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

Preview Lab → · Contrast checker → · Palette generator →

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