#CD70FA#CD70FA

#CD70FA is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 70.5% C 0.209 H 313.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#CD70FA
RGBrgb(205, 112, 250)
HSLhsl(280, 93%, 71%)
HSVhsv(280, 55%, 98%)
CMYKcmyk(18%, 55.2%, 0%, 2%)
CIE-LABlab(62.90, 58.69, -54.37)
CIE-LCHlch(62.90, 80.00, 317.19°)
OKLaboklab(70.5% 0.1439 -0.1522)
OKLCHoklch(70.5% 0.209 313.4)
XYZxyz(48.2234, 31.4709, 93.9581)
Luminance0.3147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70FA #9DFA70
analogous
#8870FA #CD70FA #FA70E2
triadic
#CD70FA #FACD70 #70FACD
tetradic
#CD70FA #FA8870 #9DFA70 #70E2FA
square
#CD70FA #FA8870 #9DFA70 #70E2FA
split-complementary
#CD70FA #E2FA70 #70FA88
monochromatic
#9F08E8 #B835F8 #CD70FA #E2ABFC #F5E1FE

Accessibility & contrast

On white

2.88
#CD70FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#CD70FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD70FA
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70FA#FFFFFF#000000##000000
##CD70FA1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A93FE
Deuteranopia (green-blind)
#6B9AF7
Tritanopia (blue-blind)
#C987AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd70fa;
/* rgb */ color: rgb(205, 112, 250);
/* oklch */ color: oklch(70.5% 0.209 313.4);
Tailwind
colors: {
  custom: {
    50: '#df9dfc',
    500: '#cd70fa',
    950: '#000000',
  },
}
SCSS
$custom: #cd70fa;
$custom-light: #df9dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70fa",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 250
  },
  "hsl": {
    "h": 280.435,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70501,
    "c": 0.20942,
    "h": 313.4
  },
  "luminance": 0.3147
}

Semantic roles & 50–950 ramp

primary
#CD70FA
secondary
#DDF5D1
accent
#E6004B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #CD70FA

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

Preview Lab → · Contrast checker → · Palette generator →

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