#CF70DC#CF70DC

#CF70DC is a light, vivid purple. Relative luminance 0.300; OKLCH L 69.2% C 0.180 H 322.7°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#CF70DC
RGBrgb(207, 112, 220)
HSLhsl(293, 61%, 65%)
HSVhsv(293, 49%, 86%)
CMYKcmyk(5.9%, 49.1%, 0%, 13.7%)
CIE-LABlab(61.67, 53.28, -39.63)
CIE-LCHlch(61.67, 66.41, 323.36°)
OKLaboklab(69.17% 0.1434 -0.1094)
OKLCHoklch(69.17% 0.18 322.7)
XYZxyz(44.4432, 30.0230, 71.1503)
Luminance0.3002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF70DC #7DDC70
analogous
#9970DC #CF70DC #DC70B3
triadic
#CF70DC #DCCF70 #70DCCF
tetradic
#CF70DC #DC9970 #7DDC70 #70B3DC
square
#CF70DC #DC9970 #7DDC70 #70B3DC
split-complementary
#CF70DC #B3DC70 #70DC99
monochromatic
#9929A8 #BE3FD0 #CF70DC #E0A1E8 #F0D2F4

Accessibility & contrast

On white

3.00
#CF70DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#CF70DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF70DC
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF70DC#FFFFFF#000000##000000
##CF70DC1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EE0
Deuteranopia (green-blind)
#7D99D9
Tritanopia (blue-blind)
#D27E9C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cf70dc;
/* rgb */ color: rgb(207, 112, 220);
/* oklch */ color: oklch(69.2% 0.180 322.7);
Tailwind
colors: {
  custom: {
    50: '#e09ce7',
    500: '#cf70dc',
    950: '#000000',
  },
}
SCSS
$custom: #cf70dc;
$custom-light: #e09ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf70dc",
  "rgb": {
    "r": 207,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 292.778,
    "s": 60.674,
    "l": 65.098
  },
  "oklch": {
    "l": 0.69169,
    "c": 0.18031,
    "h": 322.7
  },
  "luminance": 0.30021
}

Semantic roles & 50–950 ramp

primary
#CF70DC
secondary
#C6E6C2
accent
#C81D32
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#150E16
muted
#847E84

Preview Lab

Preview with #CF70DC

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

Preview Lab → · Contrast checker → · Palette generator →

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