#CF71DB#CF71DB

#CF71DB is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.3% C 0.178 H 322.9°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#CF71DB
RGBrgb(207, 113, 219)
HSLhsl(293, 60%, 65%)
HSVhsv(293, 48%, 86%)
CMYKcmyk(5.5%, 48.4%, 0%, 14.1%)
CIE-LABlab(61.82, 52.59, -38.85)
CIE-LCHlch(61.82, 65.38, 323.55°)
OKLaboklab(69.26% 0.1418 -0.1071)
OKLCHoklch(69.26% 0.178 322.9)
XYZxyz(44.4221, 30.1921, 70.4918)
Luminance0.3019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71DB #7DDB71
analogous
#9A71DB #CF71DB #DB71B2
triadic
#CF71DB #DBCF71 #71DBCF
tetradic
#CF71DB #DB9A71 #7DDB71 #71B2DB
square
#CF71DB #DB9A71 #7DDB71 #71B2DB
split-complementary
#CF71DB #B2DB71 #71DB9A
monochromatic
#992AA7 #BE40CF #CF71DB #E0A2E7 #F0D3F4

Accessibility & contrast

On white

2.98
#CF71DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#CF71DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF71DB
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71DB#FFFFFF#000000##000000
##CF71DB1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#638EDF
Deuteranopia (green-blind)
#7E99D8
Tritanopia (blue-blind)
#D27E9C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cf71db;
/* rgb */ color: rgb(207, 113, 219);
/* oklch */ color: oklch(69.3% 0.178 322.9);
Tailwind
colors: {
  custom: {
    50: '#e09de6',
    500: '#cf71db',
    950: '#000000',
  },
}
SCSS
$custom: #cf71db;
$custom-light: #e09de6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71db",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 293.208,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.69262,
    "c": 0.17774,
    "h": 322.9
  },
  "luminance": 0.3019
}

Semantic roles & 50–950 ramp

primary
#CF71DB
secondary
#C6E6C2
accent
#C71E31
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CF71DB

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

Preview Lab → · Contrast checker → · Palette generator →

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