#CF70ED#CF70ED

#CF70ED is a light, vivid purple. Relative luminance 0.310; OKLCH L 70.0% C 0.197 H 317.5°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#CF70ED
RGBrgb(207, 112, 237)
HSLhsl(286, 78%, 68%)
HSVhsv(286, 53%, 93%)
CMYKcmyk(12.7%, 52.7%, 0%, 7.1%)
CIE-LABlab(62.48, 56.57, -47.84)
CIE-LCHlch(62.48, 74.08, 319.78°)
OKLaboklab(70.03% 0.1453 -0.1331)
OKLCHoklch(70.03% 0.197 317.5)
XYZxyz(46.8102, 30.9698, 83.6163)
Luminance0.3097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF70ED #8EED70
analogous
#9070ED #CF70ED #ED70CC
triadic
#CF70ED #EDCF70 #70EDCF
tetradic
#CF70ED #ED9070 #8EED70 #70CCED
square
#CF70ED #ED9070 #8EED70 #70CCED
split-complementary
#CF70ED #CCED70 #70ED90
monochromatic
#9F19C9 #BD3AE6 #CF70ED #E1A6F4 #F3DDFB

Accessibility & contrast

On white

2.92
#CF70ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#CF70ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF70ED
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF70ED#FFFFFF#000000##000000
##CF70ED1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F1
Deuteranopia (green-blind)
#749AEA
Tritanopia (blue-blind)
#CE83A4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cf70ed;
/* rgb */ color: rgb(207, 112, 237);
/* oklch */ color: oklch(70.0% 0.197 317.5);
Tailwind
colors: {
  custom: {
    50: '#e09df3',
    500: '#cf70ed',
    950: '#000000',
  },
}
SCSS
$custom: #cf70ed;
$custom-light: #e09df3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf70ed",
  "rgb": {
    "r": 207,
    "g": 112,
    "b": 237
  },
  "hsl": {
    "h": 285.6,
    "s": 77.64,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70029,
    "c": 0.19705,
    "h": 317.5
  },
  "luminance": 0.30968
}

Semantic roles & 50–950 ramp

primary
#CF70ED
secondary
#D3EFCA
accent
#DA0C3D
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #CF70ED

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

Preview Lab → · Contrast checker → · Palette generator →

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