#CF71ED#CF71ED

#CF71ED is a light, vivid purple. Relative luminance 0.312; OKLCH L 70.2% C 0.196 H 317.4°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#CF71ED
RGBrgb(207, 113, 237)
HSLhsl(285, 78%, 69%)
HSVhsv(285, 52%, 93%)
CMYKcmyk(12.7%, 52.3%, 0%, 7.1%)
CIE-LABlab(62.67, 56.08, -47.54)
CIE-LCHlch(62.67, 73.52, 319.71°)
OKLaboklab(70.17% 0.144 -0.1322)
OKLCHoklch(70.17% 0.196 317.4)
XYZxyz(46.9211, 31.1917, 83.6533)
Luminance0.3119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71ED #8FED71
analogous
#9171ED #CF71ED #ED71CD
triadic
#CF71ED #EDCF71 #71EDCF
tetradic
#CF71ED #ED9171 #8FED71 #71CDED
square
#CF71ED #ED9171 #8FED71 #71CDED
split-complementary
#CF71ED #CDED71 #71ED91
monochromatic
#9F1ACA #BD3BE6 #CF71ED #E1A7F4 #F4DEFB

Accessibility & contrast

On white

2.90
#CF71ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#CF71ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71ED
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71ED#FFFFFF#000000##000000
##CF71ED1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F1
Deuteranopia (green-blind)
#759BEA
Tritanopia (blue-blind)
#CE84A5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf71ed;
/* rgb */ color: rgb(207, 113, 237);
/* oklch */ color: oklch(70.2% 0.196 317.4);
Tailwind
colors: {
  custom: {
    50: '#e09df3',
    500: '#cf71ed',
    950: '#000000',
  },
}
SCSS
$custom: #cf71ed;
$custom-light: #e09df3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71ed",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 285.484,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70167,
    "c": 0.19552,
    "h": 317.4
  },
  "luminance": 0.3119
}

Semantic roles & 50–950 ramp

primary
#CF71ED
secondary
#D3EFCA
accent
#DA0C3E
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #CF71ED

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

Preview Lab → · Contrast checker → · Palette generator →

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