#D271DE#D271DE

#D271DE is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.8% C 0.182 H 323.1°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#D271DE
RGBrgb(210, 113, 222)
HSLhsl(293, 62%, 66%)
HSVhsv(293, 49%, 87%)
CMYKcmyk(5.4%, 49.1%, 0%, 12.9%)
CIE-LABlab(62.33, 53.99, -39.70)
CIE-LCHlch(62.33, 67.02, 323.67°)
OKLaboklab(69.76% 0.1457 -0.1095)
OKLCHoklch(69.76% 0.182 323.1)
XYZxyz(45.6670, 30.7879, 72.6303)
Luminance0.3079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D271DE #7DDE71
analogous
#9B71DE #D271DE #DE71B4
triadic
#D271DE #DED271 #71DED2
tetradic
#D271DE #DE9B71 #7DDE71 #71B4DE
square
#D271DE #DE9B71 #7DDE71 #71B4DE
split-complementary
#D271DE #B4DE71 #71DE9B
monochromatic
#9E28AD #C23FD2 #D271DE #E2A3EA #F1D4F5

Accessibility & contrast

On white

2.93
#D271DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#D271DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D271DE
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D271DE#FFFFFF#000000##000000
##D271DE1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#628FE2
Deuteranopia (green-blind)
#7F9BDB
Tritanopia (blue-blind)
#D57F9D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d271de;
/* rgb */ color: rgb(210, 113, 222);
/* oklch */ color: oklch(69.8% 0.182 323.1);
Tailwind
colors: {
  custom: {
    50: '#e29de8',
    500: '#d271de',
    950: '#000000',
  },
}
SCSS
$custom: #d271de;
$custom-light: #e29de8;
$custom-dark: #000000;
JSON
{
  "hex": "#d271de",
  "rgb": {
    "r": 210,
    "g": 113,
    "b": 222
  },
  "hsl": {
    "h": 293.394,
    "s": 62.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.69763,
    "c": 0.18227,
    "h": 323.1
  },
  "luminance": 0.30786
}

Semantic roles & 50–950 ramp

primary
#D271DE
secondary
#C7E8C3
accent
#CA1B2F
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D271DE

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

Preview Lab → · Contrast checker → · Palette generator →

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