#CD70F7#CD70F7

#CD70F7 is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.3% C 0.206 H 314.1°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#CD70F7
RGBrgb(205, 112, 247)
HSLhsl(281, 89%, 70%)
HSVhsv(281, 55%, 97%)
CMYKcmyk(17%, 54.7%, 0%, 3.1%)
CIE-LABlab(62.75, 58.07, -52.96)
CIE-LCHlch(62.75, 78.60, 317.63°)
OKLaboklab(70.34% 0.1437 -0.1481)
OKLCHoklch(70.34% 0.206 314.1)
XYZxyz(47.7568, 31.2842, 91.5004)
Luminance0.3128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70F7 #9AF770
analogous
#8970F7 #CD70F7 #F770DE
triadic
#CD70F7 #F7CD70 #70F7CD
tetradic
#CD70F7 #F78970 #9AF770 #70DEF7
square
#CD70F7 #F78970 #9AF770 #70DEF7
split-complementary
#CD70F7 #DEF770 #70F789
monochromatic
#9E0DE0 #B936F4 #CD70F7 #E1AAFA #F5E2FD

Accessibility & contrast

On white

2.89
#CD70F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#CD70F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70F7
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70F7#FFFFFF#000000##000000
##CD70F71.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C92FB
Deuteranopia (green-blind)
#6D9AF4
Tritanopia (blue-blind)
#CA86A9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd70f7;
/* rgb */ color: rgb(205, 112, 247);
/* oklch */ color: oklch(70.3% 0.206 314.1);
Tailwind
colors: {
  custom: {
    50: '#df9dfa',
    500: '#cd70f7',
    950: '#000000',
  },
}
SCSS
$custom: #cd70f7;
$custom-light: #df9dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70f7",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 247
  },
  "hsl": {
    "h": 281.333,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70336,
    "c": 0.20634,
    "h": 314.1
  },
  "luminance": 0.31283
}

Semantic roles & 50–950 ramp

primary
#CD70F7
secondary
#DAF4CF
accent
#E60047
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E17
muted
#847E85

Preview Lab

Preview with #CD70F7

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

Preview Lab → · Contrast checker → · Palette generator →

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