#CF71FF#CF71FF

#CF71FF is a light, highly saturated violet. Relative luminance 0.323; OKLCH L 71.1% C 0.214 H 312.8°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#CF71FF
RGBrgb(207, 113, 255)
HSLhsl(280, 100%, 72%)
HSVhsv(280, 56%, 100%)
CMYKcmyk(18.8%, 55.7%, 0%, 0%)
CIE-LABlab(63.59, 59.73, -56.02)
CIE-LCHlch(63.59, 81.88, 316.84°)
OKLaboklab(71.14% 0.1452 -0.1569)
OKLCHoklch(71.14% 0.214 312.8)
XYZxyz(49.6841, 32.2969, 98.2050)
Luminance0.3230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71FF #A1FF71
analogous
#8871FF #CF71FF #FF71E8
triadic
#CF71FF #FFCF71 #71FFCF
tetradic
#CF71FF #FF8871 #A1FF71 #71E8FF
square
#CF71FF #FF8871 #A1FF71 #71E8FF
split-complementary
#CF71FF #E8FF71 #71FF88
monochromatic
#A300F6 #BA34FF #CF71FF #E4AEFF #F5E0FF

Accessibility & contrast

On white

2.82
#CF71FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#CF71FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71FF
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71FF#FFFFFF#000000##000000
##CF71FF1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4895FF
Deuteranopia (green-blind)
#6A9CFB
Tritanopia (blue-blind)
#CA8AAE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf71ff;
/* rgb */ color: rgb(207, 113, 255);
/* oklch */ color: oklch(71.1% 0.214 312.8);
Tailwind
colors: {
  custom: {
    50: '#e19dff',
    500: '#cf71ff',
    950: '#000000',
  },
}
SCSS
$custom: #cf71ff;
$custom-light: #e19dff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71ff",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 279.718,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7114,
    "c": 0.21383,
    "h": 312.8
  },
  "luminance": 0.32296
}

Semantic roles & 50–950 ramp

primary
#CF71FF
secondary
#E0F7D4
accent
#E6004E
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #CF71FF

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

Preview Lab → · Contrast checker → · Palette generator →

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