#CF71FA#CF71FA

#CF71FA is a light, highly saturated purple. Relative luminance 0.320; OKLCH L 70.9% C 0.209 H 314.0°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#CF71FA
RGBrgb(207, 113, 250)
HSLhsl(281, 93%, 71%)
HSVhsv(281, 55%, 98%)
CMYKcmyk(17.2%, 54.8%, 0%, 2%)
CIE-LABlab(63.33, 58.70, -53.68)
CIE-LCHlch(63.33, 79.54, 317.55°)
OKLaboklab(70.86% 0.145 -0.1501)
OKLCHoklch(70.86% 0.209 314)
XYZxyz(48.8897, 31.9791, 94.0211)
Luminance0.3198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71FA #9CFA71
analogous
#8A71FA #CF71FA #FA71E0
triadic
#CF71FA #FACF71 #71FACF
tetradic
#CF71FA #FA8A71 #9CFA71 #71E0FA
square
#CF71FA #FA8A71 #9CFA71 #71E0FA
split-complementary
#CF71FA #E0FA71 #71FA8A
monochromatic
#A208E8 #BB36F8 #CF71FA #E3ACFC #F5E1FE

Accessibility & contrast

On white

2.84
#CF71FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#CF71FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71FA
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71FA#FFFFFF#000000##000000
##CF71FA1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C94FE
Deuteranopia (green-blind)
#6D9CF7
Tritanopia (blue-blind)
#CB88AB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cf71fa;
/* rgb */ color: rgb(207, 113, 250);
/* oklch */ color: oklch(70.9% 0.209 314.0);
Tailwind
colors: {
  custom: {
    50: '#e09dfc',
    500: '#cf71fa',
    950: '#000000',
  },
}
SCSS
$custom: #cf71fa;
$custom-light: #e09dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71fa",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 281.168,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70863,
    "c": 0.20871,
    "h": 314
  },
  "luminance": 0.31978
}

Semantic roles & 50–950 ramp

primary
#CF71FA
secondary
#DDF5D1
accent
#E60048
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #CF71FA

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

Preview Lab → · Contrast checker → · Palette generator →

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