#D271F4#D271F4

#D271F4 is a light, highly saturated purple. Relative luminance 0.320; OKLCH L 70.9% C 0.204 H 316.6°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#D271F4
RGBrgb(210, 113, 244)
HSLhsl(284, 86%, 70%)
HSVhsv(284, 54%, 96%)
CMYKcmyk(13.9%, 53.7%, 0%, 4.3%)
CIE-LABlab(63.38, 58.24, -50.27)
CIE-LCHlch(63.38, 76.94, 319.20°)
OKLaboklab(70.88% 0.1481 -0.1401)
OKLCHoklch(70.88% 0.204 316.6)
XYZxyz(48.8102, 32.0452, 89.1846)
Luminance0.3204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D271F4 #93F471
analogous
#9071F4 #D271F4 #F471D5
triadic
#D271F4 #F4D271 #71F4D2
tetradic
#D271F4 #F49071 #93F471 #71D5F4
square
#D271F4 #F49071 #93F471 #71D5F4
split-complementary
#D271F4 #D5F471 #71F490
monochromatic
#A611DA #C038F0 #D271F4 #E4AAF8 #F6E3FD

Accessibility & contrast

On white

2.83
#D271F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#D271F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D271F4
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D271F4#FFFFFF#000000##000000
##D271F41.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5393F8
Deuteranopia (green-blind)
#739CF1
Tritanopia (blue-blind)
#D186A8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d271f4;
/* rgb */ color: rgb(210, 113, 244);
/* oklch */ color: oklch(70.9% 0.204 316.6);
Tailwind
colors: {
  custom: {
    50: '#e29df8',
    500: '#d271f4',
    950: '#000000',
  },
}
SCSS
$custom: #d271f4;
$custom-light: #e29df8;
$custom-dark: #000000;
JSON
{
  "hex": "#d271f4",
  "rgb": {
    "r": 210,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 284.427,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.70881,
    "c": 0.20387,
    "h": 316.6
  },
  "luminance": 0.32044
}

Semantic roles & 50–950 ramp

primary
#D271F4
secondary
#D8F3CE
accent
#E2033D
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D271F4

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

Preview Lab → · Contrast checker → · Palette generator →

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