#D271CF#D271CF

#D271CF is a light, vivid purple. Relative luminance 0.300; OKLCH L 69.1% C 0.168 H 328.3°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#D271CF
RGBrgb(210, 113, 207)
HSLhsl(302, 52%, 63%)
HSVhsv(302, 46%, 82%)
CMYKcmyk(0%, 46.2%, 1.4%, 17.6%)
CIE-LABlab(61.67, 51.25, -32.31)
CIE-LCHlch(61.67, 60.59, 327.77°)
OKLaboklab(69.06% 0.1433 -0.0883)
OKLCHoklch(69.06% 0.168 328.3)
XYZxyz(43.7453, 30.0192, 62.5095)
Luminance0.3002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D271CF #71D274
analogous
#A471D2 #D271CF #D2719E
triadic
#D271CF #CFD271 #71CFD2
tetradic
#D271CF #D2A471 #71D274 #719ED2
square
#D271CF #D2A471 #71D274 #719ED2
split-complementary
#D271CF #9ED271 #71D2A4
monochromatic
#983095 #C343BF #D271CF #E19FDF #EFCEEE

Accessibility & contrast

On white

3.00
#D271CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#D271CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D271CF
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D271CF#FFFFFF#000000##000000
##D271CF1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8DD2
Deuteranopia (green-blind)
#869ACC
Tritanopia (blue-blind)
#D87A96
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d271cf;
/* rgb */ color: rgb(210, 113, 207);
/* oklch */ color: oklch(69.1% 0.168 328.3);
Tailwind
colors: {
  custom: {
    50: '#e29dde',
    500: '#d271cf',
    950: '#000000',
  },
}
SCSS
$custom: #d271cf;
$custom-light: #e29dde;
$custom-dark: #000000;
JSON
{
  "hex": "#d271cf",
  "rgb": {
    "r": 210,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 301.856,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6906,
    "c": 0.1683,
    "h": 328.3
  },
  "luminance": 0.30017
}

Semantic roles & 50–950 ramp

primary
#D271CF
secondary
#BEE1BF
accent
#BF2B26
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D271CF

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

Preview Lab → · Contrast checker → · Palette generator →

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