#D271FF#D271FF

#D271FF is a light, highly saturated purple. Relative luminance 0.327; OKLCH L 71.5% C 0.215 H 313.8°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#D271FF
RGBrgb(210, 113, 255)
HSLhsl(281, 100%, 72%)
HSVhsv(281, 56%, 100%)
CMYKcmyk(17.6%, 55.7%, 0%, 0%)
CIE-LABlab(63.94, 60.46, -55.43)
CIE-LCHlch(63.94, 82.02, 317.49°)
OKLaboklab(71.48% 0.1488 -0.1551)
OKLCHoklch(71.48% 0.215 313.8)
XYZxyz(50.5305, 32.7333, 98.2447)
Luminance0.3273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D271FF #9EFF71
analogous
#8B71FF #D271FF #FF71E5
triadic
#D271FF #FFD271 #71FFD2
tetradic
#D271FF #FF8B71 #9EFF71 #71E5FF
square
#D271FF #FF8B71 #9EFF71 #71E5FF
split-complementary
#D271FF #E5FF71 #71FF8B
monochromatic
#A800F6 #BF34FF #D271FF #E5AEFF #F5E0FF

Accessibility & contrast

On white

2.78
#D271FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#D271FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D271FF
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D271FF#FFFFFF#000000##000000
##D271FF1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4996FF
Deuteranopia (green-blind)
#6C9DFB
Tritanopia (blue-blind)
#CE89AE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d271ff;
/* rgb */ color: rgb(210, 113, 255);
/* oklch */ color: oklch(71.5% 0.215 313.8);
Tailwind
colors: {
  custom: {
    50: '#e39eff',
    500: '#d271ff',
    950: '#000000',
  },
}
SCSS
$custom: #d271ff;
$custom-light: #e39eff;
$custom-dark: #000000;
JSON
{
  "hex": "#d271ff",
  "rgb": {
    "r": 210,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 280.986,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71478,
    "c": 0.21496,
    "h": 313.8
  },
  "luminance": 0.32732
}

Semantic roles & 50–950 ramp

primary
#D271FF
secondary
#DFF7D4
accent
#E60049
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D271FF

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

Preview Lab → · Contrast checker → · Palette generator →

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