#D271DD#D271DD

#D271DD is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.7% C 0.181 H 323.4°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#D271DD
RGBrgb(210, 113, 221)
HSLhsl(294, 61%, 65%)
HSVhsv(294, 49%, 87%)
CMYKcmyk(5%, 48.9%, 0%, 13.3%)
CIE-LABlab(62.28, 53.81, -39.21)
CIE-LCHlch(62.28, 66.58, 323.92°)
OKLaboklab(69.71% 0.1456 -0.1081)
OKLCHoklch(69.71% 0.181 323.4)
XYZxyz(45.5333, 30.7345, 71.9265)
Luminance0.3073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D271DD #7CDD71
analogous
#9C71DD #D271DD #DD71B2
triadic
#D271DD #DDD271 #71DDD2
tetradic
#D271DD #DD9C71 #7CDD71 #71B2DD
square
#D271DD #DD9C71 #7CDD71 #71B2DD
split-complementary
#D271DD #B2DD71 #71DD9C
monochromatic
#9D29AB #C240D1 #D271DD #E2A2E9 #F1D4F5

Accessibility & contrast

On white

2.94
#D271DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#D271DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D271DD
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D271DD#FFFFFF#000000##000000
##D271DD1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#638FE1
Deuteranopia (green-blind)
#7F9BDA
Tritanopia (blue-blind)
#D57E9D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d271dd;
/* rgb */ color: rgb(210, 113, 221);
/* oklch */ color: oklch(69.7% 0.181 323.4);
Tailwind
colors: {
  custom: {
    50: '#e29de8',
    500: '#d271dd',
    950: '#000000',
  },
}
SCSS
$custom: #d271dd;
$custom-light: #e29de8;
$custom-dark: #000000;
JSON
{
  "hex": "#d271dd",
  "rgb": {
    "r": 210,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 293.889,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69714,
    "c": 0.18132,
    "h": 323.4
  },
  "luminance": 0.30732
}

Semantic roles & 50–950 ramp

primary
#D271DD
secondary
#C6E7C3
accent
#C91C2E
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D271DD

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

Preview Lab → · Contrast checker → · Palette generator →

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