#CF70E8#CF70E8

#CF70E8 is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.8% C 0.192 H 318.9°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#CF70E8
RGBrgb(207, 112, 232)
HSLhsl(288, 72%, 67%)
HSVhsv(288, 52%, 91%)
CMYKcmyk(10.8%, 51.7%, 0%, 9%)
CIE-LABlab(62.24, 55.59, -45.44)
CIE-LCHlch(62.24, 71.80, 320.73°)
OKLaboklab(69.77% 0.1448 -0.1262)
OKLCHoklch(69.77% 0.192 318.9)
XYZxyz(46.0899, 30.6817, 79.8226)
Luminance0.3068 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF70E8 #89E870
analogous
#9370E8 #CF70E8 #E870C5
triadic
#CF70E8 #E8CF70 #70E8CF
tetradic
#CF70E8 #E89370 #89E870 #70C5E8
square
#CF70E8 #E89370 #89E870 #70C5E8
split-complementary
#CF70E8 #C5E870 #70E893
monochromatic
#9E1FBF #BD3BE0 #CF70E8 #E1A5F0 #F2D9F9

Accessibility & contrast

On white

2.94
#CF70E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#CF70E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF70E8
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF70E8#FFFFFF#000000##000000
##CF70E81.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5990EC
Deuteranopia (green-blind)
#779AE5
Tritanopia (blue-blind)
#CF81A2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cf70e8;
/* rgb */ color: rgb(207, 112, 232);
/* oklch */ color: oklch(69.8% 0.192 318.9);
Tailwind
colors: {
  custom: {
    50: '#e09cf0',
    500: '#cf70e8',
    950: '#000000',
  },
}
SCSS
$custom: #cf70e8;
$custom-light: #e09cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf70e8",
  "rgb": {
    "r": 207,
    "g": 112,
    "b": 232
  },
  "hsl": {
    "h": 287.5,
    "s": 72.289,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6977,
    "c": 0.19207,
    "h": 318.9
  },
  "luminance": 0.3068
}

Semantic roles & 50–950 ramp

primary
#CF70E8
secondary
#CFEDC7
accent
#D4113A
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #CF70E8

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

Preview Lab → · Contrast checker → · Palette generator →

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