#CD70F5#CD70F5

#CD70F5 is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 70.2% C 0.204 H 314.7°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#CD70F5
RGBrgb(205, 112, 245)
HSLhsl(282, 87%, 70%)
HSVhsv(282, 54%, 96%)
CMYKcmyk(16.3%, 54.3%, 0%, 3.9%)
CIE-LABlab(62.64, 57.66, -52.02)
CIE-LCHlch(62.64, 77.66, 317.94°)
OKLaboklab(70.23% 0.1436 -0.1453)
OKLCHoklch(70.23% 0.204 314.7)
XYZxyz(47.4498, 31.1614, 89.8837)
Luminance0.3116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70F5 #98F570
analogous
#8B70F5 #CD70F5 #F570DA
triadic
#CD70F5 #F5CD70 #70F5CD
tetradic
#CD70F5 #F58B70 #98F570 #70DAF5
square
#CD70F5 #F58B70 #98F570 #70DAF5
split-complementary
#CD70F5 #DAF570 #70F58B
monochromatic
#9E0FDB #B937F1 #CD70F5 #E1A9F9 #F5E2FD

Accessibility & contrast

On white

2.90
#CD70F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#CD70F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70F5
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70F5#FFFFFF#000000##000000
##CD70F51.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E92F9
Deuteranopia (green-blind)
#6E9AF2
Tritanopia (blue-blind)
#CA86A8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd70f5;
/* rgb */ color: rgb(205, 112, 245);
/* oklch */ color: oklch(70.2% 0.204 314.7);
Tailwind
colors: {
  custom: {
    50: '#df9df9',
    500: '#cd70f5',
    950: '#000000',
  },
}
SCSS
$custom: #cd70f5;
$custom-light: #df9df9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70f5",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 245
  },
  "hsl": {
    "h": 281.955,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.70227,
    "c": 0.2043,
    "h": 314.7
  },
  "luminance": 0.3116
}

Semantic roles & 50–950 ramp

primary
#CD70F5
secondary
#D9F3CE
accent
#E30246
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E17
muted
#847E85

Preview Lab

Preview with #CD70F5

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

Preview Lab → · Contrast checker → · Palette generator →

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