#D272FE#D272FE

#D272FE is a light, highly saturated purple. Relative luminance 0.329; OKLCH L 71.6% C 0.212 H 314.0°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#D272FE
RGBrgb(210, 114, 254)
HSLhsl(281, 99%, 72%)
HSVhsv(281, 55%, 100%)
CMYKcmyk(17.3%, 55.1%, 0%, 0.4%)
CIE-LABlab(64.07, 59.77, -54.67)
CIE-LCHlch(64.07, 81.00, 317.55°)
OKLaboklab(71.56% 0.1475 -0.1529)
OKLCHoklch(71.56% 0.212 314)
XYZxyz(50.4821, 32.8934, 97.4365)
Luminance0.3289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D272FE #9EFE72
analogous
#8C72FE #D272FE #FE72E4
triadic
#D272FE #FED272 #72FED2
tetradic
#D272FE #FE8C72 #9EFE72 #72E4FE
square
#D272FE #FE8C72 #9EFE72 #72E4FE
split-complementary
#D272FE #E4FE72 #72FE8C
monochromatic
#A802F4 #BF35FE #D272FE #E5AFFE #F5E1FF

Accessibility & contrast

On white

2.77
#D272FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#D272FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D272FE
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D272FE#FFFFFF#000000##000000
##D272FE1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C96FF
Deuteranopia (green-blind)
#6E9EFA
Tritanopia (blue-blind)
#CE8AAE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d272fe;
/* rgb */ color: rgb(210, 114, 254);
/* oklch */ color: oklch(71.6% 0.212 314.0);
Tailwind
colors: {
  custom: {
    50: '#e39eff',
    500: '#d272fe',
    950: '#000000',
  },
}
SCSS
$custom: #d272fe;
$custom-light: #e39eff;
$custom-dark: #000000;
JSON
{
  "hex": "#d272fe",
  "rgb": {
    "r": 210,
    "g": 114,
    "b": 254
  },
  "hsl": {
    "h": 281.143,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71557,
    "c": 0.21247,
    "h": 314
  },
  "luminance": 0.32892
}

Semantic roles & 50–950 ramp

primary
#D272FE
secondary
#DFF7D4
accent
#E60048
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D272FE

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

Preview Lab → · Contrast checker → · Palette generator →

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