#CF71EB#CF71EB

#CF71EB is a light, vivid purple. Relative luminance 0.311; OKLCH L 70.1% C 0.194 H 318.0°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#CF71EB
RGBrgb(207, 113, 235)
HSLhsl(286, 75%, 68%)
HSVhsv(286, 52%, 92%)
CMYKcmyk(11.9%, 51.9%, 0%, 7.8%)
CIE-LABlab(62.57, 55.68, -46.59)
CIE-LCHlch(62.57, 72.60, 320.08°)
OKLaboklab(70.06% 0.1438 -0.1295)
OKLCHoklch(70.06% 0.194 318)
XYZxyz(46.6306, 31.0755, 82.1230)
Luminance0.3107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71EB #8DEB71
analogous
#9271EB #CF71EB #EB71CA
triadic
#CF71EB #EBCF71 #71EBCF
tetradic
#CF71EB #EB9271 #8DEB71 #71CAEB
square
#CF71EB #EB9271 #8DEB71 #71CAEB
split-complementary
#CF71EB #CAEB71 #71EB92
monochromatic
#9F1CC6 #BD3BE3 #CF71EB #E1A7F3 #F3DCFA

Accessibility & contrast

On white

2.91
#CF71EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#CF71EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71EB
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71EB#FFFFFF#000000##000000
##CF71EB1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891EF
Deuteranopia (green-blind)
#769AE8
Tritanopia (blue-blind)
#CF83A4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cf71eb;
/* rgb */ color: rgb(207, 113, 235);
/* oklch */ color: oklch(70.1% 0.194 318.0);
Tailwind
colors: {
  custom: {
    50: '#e09df2',
    500: '#cf71eb',
    950: '#000000',
  },
}
SCSS
$custom: #cf71eb;
$custom-light: #e09df2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71eb",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 286.23,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70063,
    "c": 0.19351,
    "h": 318
  },
  "luminance": 0.31074
}

Semantic roles & 50–950 ramp

primary
#CF71EB
secondary
#D2EEC9
accent
#D70E3C
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #CF71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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