#D271CD#D271CD

#D271CD is a light, vivid purple. Relative luminance 0.299; OKLCH L 69.0% C 0.167 H 329.1°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#D271CD
RGBrgb(210, 113, 205)
HSLhsl(303, 52%, 63%)
HSVhsv(303, 46%, 82%)
CMYKcmyk(0%, 46.2%, 2.4%, 17.6%)
CIE-LABlab(61.59, 50.90, -31.31)
CIE-LCHlch(61.59, 59.76, 328.40°)
OKLaboklab(68.97% 0.1429 -0.0855)
OKLCHoklch(68.97% 0.167 329.1)
XYZxyz(43.5023, 29.9221, 61.2299)
Luminance0.2992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D271CD #71D276
analogous
#A671D2 #D271CD #D2719C
triadic
#D271CD #CDD271 #71CDD2
tetradic
#D271CD #D2A671 #71D276 #719CD2
square
#D271CD #D2A671 #71D276 #719CD2
split-complementary
#D271CD #9CD271 #71D2A6
monochromatic
#983093 #C343BD #D271CD #E19FDD #EFCEEE

Accessibility & contrast

On white

3.01
#D271CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#D271CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D271CD
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D271CD#FFFFFF#000000##000000
##D271CD1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8CD0
Deuteranopia (green-blind)
#8699CA
Tritanopia (blue-blind)
#D87A95
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d271cd;
/* rgb */ color: rgb(210, 113, 205);
/* oklch */ color: oklch(69.0% 0.167 329.1);
Tailwind
colors: {
  custom: {
    50: '#e29ddc',
    500: '#d271cd',
    950: '#000000',
  },
}
SCSS
$custom: #d271cd;
$custom-light: #e29ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#d271cd",
  "rgb": {
    "r": 210,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 303.093,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6897,
    "c": 0.1665,
    "h": 329.1
  },
  "luminance": 0.2992
}

Semantic roles & 50–950 ramp

primary
#D271CD
secondary
#BEE1C0
accent
#BF2E26
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D271CD

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

Preview Lab → · Contrast checker → · Palette generator →

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