#CF71F8#CF71F8

#CF71F8 is a light, highly saturated purple. Relative luminance 0.319; OKLCH L 70.8% C 0.207 H 314.5°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#CF71F8
RGBrgb(207, 113, 248)
HSLhsl(282, 91%, 71%)
HSVhsv(282, 54%, 97%)
CMYKcmyk(16.5%, 54.4%, 0%, 2.7%)
CIE-LABlab(63.22, 58.29, -52.75)
CIE-LCHlch(63.22, 78.61, 317.86°)
OKLaboklab(70.75% 0.1449 -0.1474)
OKLCHoklch(70.75% 0.207 314.5)
XYZxyz(48.5778, 31.8544, 92.3783)
Luminance0.3185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71F8 #9AF871
analogous
#8B71F8 #CF71F8 #F871DD
triadic
#CF71F8 #F8CF71 #71F8CF
tetradic
#CF71F8 #F88B71 #9AF871 #71DDF8
square
#CF71F8 #F88B71 #9AF871 #71DDF8
split-complementary
#CF71F8 #DDF871 #71F88B
monochromatic
#A20BE3 #BB37F5 #CF71F8 #E3ABFB #F5E2FE

Accessibility & contrast

On white

2.85
#CF71F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#CF71F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71F8
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71F8#FFFFFF#000000##000000
##CF71F81.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E94FC
Deuteranopia (green-blind)
#6E9CF5
Tritanopia (blue-blind)
#CC87AA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cf71f8;
/* rgb */ color: rgb(207, 113, 248);
/* oklch */ color: oklch(70.8% 0.207 314.5);
Tailwind
colors: {
  custom: {
    50: '#e09dfb',
    500: '#cf71f8',
    950: '#000000',
  },
}
SCSS
$custom: #cf71f8;
$custom-light: #e09dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71f8",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 281.778,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70754,
    "c": 0.20667,
    "h": 314.5
  },
  "luminance": 0.31853
}

Semantic roles & 50–950 ramp

primary
#CF71F8
secondary
#DBF5D0
accent
#E60046
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #CF71F8

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

Preview Lab → · Contrast checker → · Palette generator →

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