#CD70F4#CD70F4

#CD70F4 is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 70.2% C 0.203 H 314.9°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#CD70F4
RGBrgb(205, 112, 244)
HSLhsl(282, 86%, 70%)
HSVhsv(282, 54%, 96%)
CMYKcmyk(16%, 54.1%, 0%, 4.3%)
CIE-LABlab(62.59, 57.46, -51.55)
CIE-LCHlch(62.59, 77.20, 318.10°)
OKLaboklab(70.17% 0.1435 -0.144)
OKLCHoklch(70.17% 0.203 314.9)
XYZxyz(47.2975, 31.1005, 89.0819)
Luminance0.3110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70F4 #97F470
analogous
#8B70F4 #CD70F4 #F470D9
triadic
#CD70F4 #F4CD70 #70F4CD
tetradic
#CD70F4 #F48B70 #97F470 #70D9F4
square
#CD70F4 #F48B70 #97F470 #70D9F4
split-complementary
#CD70F4 #D9F470 #70F48B
monochromatic
#9E11D9 #B937F0 #CD70F4 #E1A9F8 #F5E2FD

Accessibility & contrast

On white

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

On black

7.22
#CD70F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70F4
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70F4#FFFFFF#000000##000000
##CD70F41.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd70f4;
/* rgb */ color: rgb(205, 112, 244);
/* oklch */ color: oklch(70.2% 0.203 314.9);
Tailwind
colors: {
  custom: {
    50: '#df9df8',
    500: '#cd70f4',
    950: '#000000',
  },
}
SCSS
$custom: #cd70f4;
$custom-light: #df9df8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70f4",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 244
  },
  "hsl": {
    "h": 282.273,
    "s": 85.714,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70173,
    "c": 0.20328,
    "h": 314.9
  },
  "luminance": 0.31099
}

Semantic roles & 50–950 ramp

primary
#CD70F4
secondary
#D8F3CD
accent
#E20345
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E17
muted
#847E85

Preview Lab

Preview with #CD70F4

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

Preview Lab → · Contrast checker → · Palette generator →

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