#D271F9#D271F9

#D271F9 is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 71.2% C 0.209 H 315.3°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#D271F9
RGBrgb(210, 113, 249)
HSLhsl(283, 92%, 71%)
HSVhsv(283, 55%, 98%)
CMYKcmyk(15.7%, 54.6%, 0%, 2.4%)
CIE-LABlab(63.63, 59.24, -52.62)
CIE-LCHlch(63.63, 79.24, 318.39°)
OKLaboklab(71.15% 0.1485 -0.1469)
OKLCHoklch(71.15% 0.209 315.3)
XYZxyz(49.5797, 32.3530, 93.2372)
Luminance0.3235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D271F9 #98F971
analogous
#8E71F9 #D271F9 #F971DC
triadic
#D271F9 #F9D271 #71F9D2
tetradic
#D271F9 #F98E71 #98F971 #71DCF9
square
#D271F9 #F98E71 #98F971 #71DCF9
split-complementary
#D271F9 #DCF971 #71F98E
monochromatic
#A70AE6 #BF36F7 #D271F9 #E5ACFB #F6E2FE

Accessibility & contrast

On white

2.81
#D271F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#D271F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D271F9
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D271F9#FFFFFF#000000##000000
##D271F91.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F94FD
Deuteranopia (green-blind)
#709DF5
Tritanopia (blue-blind)
#CF87AB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d271f9;
/* rgb */ color: rgb(210, 113, 249);
/* oklch */ color: oklch(71.2% 0.209 315.3);
Tailwind
colors: {
  custom: {
    50: '#e39efc',
    500: '#d271f9',
    950: '#000000',
  },
}
SCSS
$custom: #d271f9;
$custom-light: #e39efc;
$custom-dark: #000000;
JSON
{
  "hex": "#d271f9",
  "rgb": {
    "r": 210,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 282.794,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.7115,
    "c": 0.20889,
    "h": 315.3
  },
  "luminance": 0.32351
}

Semantic roles & 50–950 ramp

primary
#D271F9
secondary
#DBF5D1
accent
#E60042
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D271F9

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

Preview Lab → · Contrast checker → · Palette generator →

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