#CD70F1#CD70F1

#CD70F1 is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.0% C 0.200 H 315.7°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CD70F1
RGBrgb(205, 112, 241)
HSLhsl(283, 82%, 69%)
HSVhsv(283, 54%, 95%)
CMYKcmyk(14.9%, 53.5%, 0%, 5.5%)
CIE-LABlab(62.44, 56.85, -50.13)
CIE-LCHlch(62.44, 75.80, 318.59°)
OKLaboklab(70.01% 0.1433 -0.1398)
OKLCHoklch(70.01% 0.2 315.7)
XYZxyz(46.8458, 30.9198, 86.7025)
Luminance0.3092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70F1 #94F170
analogous
#8D70F1 #CD70F1 #F170D5
triadic
#CD70F1 #F1CD70 #70F1CD
tetradic
#CD70F1 #F18D70 #94F170 #70D5F1
square
#CD70F1 #F18D70 #94F170 #70D5F1
split-complementary
#CD70F1 #D5F170 #70F18D
monochromatic
#9D15D2 #BA38EC #CD70F1 #E0A8F6 #F4DFFC

Accessibility & contrast

On white

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

On black

7.18
#CD70F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70F1
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70F1#FFFFFF#000000##000000
##CD70F11.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5191F5
Deuteranopia (green-blind)
#709AEE
Tritanopia (blue-blind)
#CB85A6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd70f1;
/* rgb */ color: rgb(205, 112, 241);
/* oklch */ color: oklch(70.0% 0.200 315.7);
Tailwind
colors: {
  custom: {
    50: '#df9cf6',
    500: '#cd70f1',
    950: '#000000',
  },
}
SCSS
$custom: #cd70f1;
$custom-light: #df9cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70f1",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 241
  },
  "hsl": {
    "h": 283.256,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70011,
    "c": 0.20022,
    "h": 315.7
  },
  "luminance": 0.30918
}

Semantic roles & 50–950 ramp

primary
#CD70F1
secondary
#D6F1CC
accent
#DF0743
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#150E17
muted
#847E85

Preview Lab

Preview with #CD70F1

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

Preview Lab → · Contrast checker → · Palette generator →

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