#D272FC#D272FC

#D272FC is a light, highly saturated purple. Relative luminance 0.328; OKLCH L 71.4% C 0.210 H 314.5°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#D272FC
RGBrgb(210, 114, 252)
HSLhsl(282, 96%, 72%)
HSVhsv(282, 55%, 99%)
CMYKcmyk(16.7%, 54.8%, 0%, 1.2%)
CIE-LABlab(63.97, 59.36, -53.74)
CIE-LCHlch(63.97, 80.07, 317.85°)
OKLaboklab(71.45% 0.1474 -0.1502)
OKLCHoklch(71.45% 0.21 314.5)
XYZxyz(50.1635, 32.7660, 95.7586)
Luminance0.3276 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D272FC #9CFC72
analogous
#8D72FC #D272FC #FC72E1
triadic
#D272FC #FCD272 #72FCD2
tetradic
#D272FC #FC8D72 #9CFC72 #72E1FC
square
#D272FC #FC8D72 #9CFC72 #72E1FC
split-complementary
#D272FC #E1FC72 #72FC8D
monochromatic
#A705EF #BF36FB #D272FC #E5AEFD #F5E1FE

Accessibility & contrast

On white

2.78
#D272FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#D272FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D272FC
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D272FC#FFFFFF#000000##000000
##D272FC1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E95FF
Deuteranopia (green-blind)
#6F9EF8
Tritanopia (blue-blind)
#CF89AD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d272fc;
/* rgb */ color: rgb(210, 114, 252);
/* oklch */ color: oklch(71.4% 0.210 314.5);
Tailwind
colors: {
  custom: {
    50: '#e39efe',
    500: '#d272fc',
    950: '#000000',
  },
}
SCSS
$custom: #d272fc;
$custom-light: #e39efe;
$custom-dark: #000000;
JSON
{
  "hex": "#d272fc",
  "rgb": {
    "r": 210,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 281.739,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71447,
    "c": 0.21043,
    "h": 314.5
  },
  "luminance": 0.32765
}

Semantic roles & 50–950 ramp

primary
#D272FC
secondary
#DEF6D3
accent
#E60046
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D272FC

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

Preview Lab → · Contrast checker → · Palette generator →

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