#CF71EA#CF71EA

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

Color values

HEX#CF71EA
RGBrgb(207, 113, 234)
HSLhsl(287, 74%, 68%)
HSVhsv(287, 52%, 92%)
CMYKcmyk(11.5%, 51.7%, 0%, 8.2%)
CIE-LABlab(62.52, 55.48, -46.11)
CIE-LCHlch(62.52, 72.14, 320.27°)
OKLaboklab(70.01% 0.1437 -0.1281)
OKLCHoklch(70.01% 0.193 318.3)
XYZxyz(46.4865, 31.0179, 81.3643)
Luminance0.3102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71EA #8CEA71
analogous
#9371EA #CF71EA #EA71C8
triadic
#CF71EA #EACF71 #71EACF
tetradic
#CF71EA #EA9371 #8CEA71 #71C8EA
square
#CF71EA #EA9371 #8CEA71 #71C8EA
split-complementary
#CF71EA #C8EA71 #71EA93
monochromatic
#9E1DC4 #BD3CE2 #CF71EA #E1A6F2 #F3DCFA

Accessibility & contrast

On white

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

On black

7.20
#CF71EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71EA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71EA#FFFFFF#000000##000000
##CF71EA1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EE
Deuteranopia (green-blind)
#779AE7
Tritanopia (blue-blind)
#CF83A3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cf71ea;
/* rgb */ color: rgb(207, 113, 234);
/* oklch */ color: oklch(70.0% 0.193 318.3);
Tailwind
colors: {
  custom: {
    50: '#e09df1',
    500: '#cf71ea',
    950: '#000000',
  },
}
SCSS
$custom: #cf71ea;
$custom-light: #e09df1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71ea",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 286.612,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70011,
    "c": 0.19251,
    "h": 318.3
  },
  "luminance": 0.31016
}

Semantic roles & 50–950 ramp

primary
#CF71EA
secondary
#D1EEC9
accent
#D60F3C
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #CF71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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