#D271CE#D271CE

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

Color values

HEX#D271CE
RGBrgb(210, 113, 206)
HSLhsl(302, 52%, 63%)
HSVhsv(302, 46%, 82%)
CMYKcmyk(0%, 46.2%, 1.9%, 17.6%)
CIE-LABlab(61.63, 51.08, -31.81)
CIE-LCHlch(61.63, 60.17, 328.09°)
OKLaboklab(69.02% 0.1431 -0.0869)
OKLCHoklch(69.02% 0.167 328.7)
XYZxyz(43.6234, 29.9705, 61.8677)
Luminance0.2997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D271CE #71D275
analogous
#A571D2 #D271CE #D2719D
triadic
#D271CE #CED271 #71CED2
tetradic
#D271CE #D2A571 #71D275 #719DD2
square
#D271CE #D2A571 #71D275 #719DD2
split-complementary
#D271CE #9DD271 #71D2A5
monochromatic
#983094 #C343BE #D271CE #E19FDE #EFCEEE

Accessibility & contrast

On white

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

On black

6.99
#D271CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D271CE
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D271CE#FFFFFF#000000##000000
##D271CE1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8DD1
Deuteranopia (green-blind)
#8699CB
Tritanopia (blue-blind)
#D87A96
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d271ce;
/* rgb */ color: rgb(210, 113, 206);
/* oklch */ color: oklch(69.0% 0.167 328.7);
Tailwind
colors: {
  custom: {
    50: '#e29ddd',
    500: '#d271ce',
    950: '#000000',
  },
}
SCSS
$custom: #d271ce;
$custom-light: #e29ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#d271ce",
  "rgb": {
    "r": 210,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 302.474,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.69015,
    "c": 0.16739,
    "h": 328.7
  },
  "luminance": 0.29968
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D271CE

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

Preview Lab → · Contrast checker → · Palette generator →

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