#D272FA#D272FA

#D272FA is a light, highly saturated purple. Relative luminance 0.326; OKLCH L 71.3% C 0.208 H 315.0°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#D272FA
RGBrgb(210, 114, 250)
HSLhsl(282, 93%, 71%)
HSVhsv(282, 54%, 98%)
CMYKcmyk(16%, 54.4%, 0%, 2%)
CIE-LABlab(63.87, 58.96, -52.80)
CIE-LCHlch(63.87, 79.15, 318.15°)
OKLaboklab(71.34% 0.1473 -0.1475)
OKLCHoklch(71.34% 0.208 315)
XYZxyz(49.8482, 32.6399, 94.0982)
Luminance0.3264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D272FA #9AFA72
analogous
#8E72FA #D272FA #FA72DE
triadic
#D272FA #FAD272 #72FAD2
tetradic
#D272FA #FA8E72 #9AFA72 #72DEFA
square
#D272FA #FA8E72 #9AFA72 #72DEFA
split-complementary
#D272FA #DEFA72 #72FA8E
monochromatic
#A708E9 #BF37F8 #D272FA #E5ADFC #F6E1FE

Accessibility & contrast

On white

2.79
#D272FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#D272FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D272FA
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D272FA#FFFFFF#000000##000000
##D272FA1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5095FE
Deuteranopia (green-blind)
#719DF6
Tritanopia (blue-blind)
#CF88AC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d272fa;
/* rgb */ color: rgb(210, 114, 250);
/* oklch */ color: oklch(71.3% 0.208 315.0);
Tailwind
colors: {
  custom: {
    50: '#e39efc',
    500: '#d272fa',
    950: '#000000',
  },
}
SCSS
$custom: #d272fa;
$custom-light: #e39efc;
$custom-dark: #000000;
JSON
{
  "hex": "#d272fa",
  "rgb": {
    "r": 210,
    "g": 114,
    "b": 250
  },
  "hsl": {
    "h": 282.353,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71338,
    "c": 0.20841,
    "h": 315
  },
  "luminance": 0.32638
}

Semantic roles & 50–950 ramp

primary
#D272FA
secondary
#DDF6D2
accent
#E60043
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D272FA

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

Preview Lab → · Contrast checker → · Palette generator →

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