#D272FB#D272FB

#D272FB is a light, highly saturated purple. Relative luminance 0.327; OKLCH L 71.4% C 0.209 H 314.7°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#D272FB
RGBrgb(210, 114, 251)
HSLhsl(282, 94%, 72%)
HSVhsv(282, 55%, 98%)
CMYKcmyk(16.3%, 54.6%, 0%, 1.6%)
CIE-LABlab(63.92, 59.16, -53.27)
CIE-LCHlch(63.92, 79.61, 318.00°)
OKLaboklab(71.39% 0.1473 -0.1488)
OKLCHoklch(71.39% 0.209 314.7)
XYZxyz(50.0054, 32.7028, 94.9262)
Luminance0.3270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D272FB #9BFB72
analogous
#8E72FB #D272FB #FB72E0
triadic
#D272FB #FBD272 #72FBD2
tetradic
#D272FB #FB8E72 #9BFB72 #72E0FB
square
#D272FB #FB8E72 #9BFB72 #72E0FB
split-complementary
#D272FB #E0FB72 #72FB8E
monochromatic
#A707EC #BF36F9 #D272FB #E5AEFD #F6E1FE

Accessibility & contrast

On white

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

On black

7.54
#D272FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D272FB
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D272FB#FFFFFF#000000##000000
##D272FB1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F95FF
Deuteranopia (green-blind)
#709DF7
Tritanopia (blue-blind)
#CF89AC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d272fb;
/* rgb */ color: rgb(210, 114, 251);
/* oklch */ color: oklch(71.4% 0.209 314.7);
Tailwind
colors: {
  custom: {
    50: '#e39efd',
    500: '#d272fb',
    950: '#000000',
  },
}
SCSS
$custom: #d272fb;
$custom-light: #e39efd;
$custom-dark: #000000;
JSON
{
  "hex": "#d272fb",
  "rgb": {
    "r": 210,
    "g": 114,
    "b": 251
  },
  "hsl": {
    "h": 282.044,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71393,
    "c": 0.20942,
    "h": 314.7
  },
  "luminance": 0.32701
}

Semantic roles & 50–950 ramp

primary
#D272FB
secondary
#DDF6D3
accent
#E60045
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D272FB

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

Preview Lab → · Contrast checker → · Palette generator →

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