#D272DC#D272DC

#D272DC is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.8% C 0.179 H 323.7°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#D272DC
RGBrgb(210, 114, 220)
HSLhsl(294, 60%, 65%)
HSVhsv(294, 48%, 86%)
CMYKcmyk(4.5%, 48.2%, 0%, 13.7%)
CIE-LABlab(62.43, 53.12, -38.43)
CIE-LCHlch(62.43, 65.56, 324.12°)
OKLaboklab(69.81% 0.1441 -0.1058)
OKLCHoklch(69.81% 0.179 323.7)
XYZxyz(45.5127, 30.9057, 71.2643)
Luminance0.3090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D272DC #7CDC72
analogous
#9D72DC #D272DC #DC72B1
triadic
#D272DC #DCD272 #72DCD2
tetradic
#D272DC #DC9D72 #7CDC72 #72B1DC
square
#D272DC #DC9D72 #7CDC72 #72B1DC
split-complementary
#D272DC #B1DC72 #72DC9D
monochromatic
#9D2AAA #C241D0 #D272DC #E2A3E8 #F1D4F4

Accessibility & contrast

On white

2.92
#D272DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#D272DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D272DC
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D272DC#FFFFFF#000000##000000
##D272DC1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6490E0
Deuteranopia (green-blind)
#819BD9
Tritanopia (blue-blind)
#D57F9D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d272dc;
/* rgb */ color: rgb(210, 114, 220);
/* oklch */ color: oklch(69.8% 0.179 323.7);
Tailwind
colors: {
  custom: {
    50: '#e29ee7',
    500: '#d272dc',
    950: '#000000',
  },
}
SCSS
$custom: #d272dc;
$custom-light: #e29ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#d272dc",
  "rgb": {
    "r": 210,
    "g": 114,
    "b": 220
  },
  "hsl": {
    "h": 294.34,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69807,
    "c": 0.17876,
    "h": 323.7
  },
  "luminance": 0.30904
}

Semantic roles & 50–950 ramp

primary
#D272DC
secondary
#C6E7C3
accent
#C81E2E
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D272DC

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

Preview Lab → · Contrast checker → · Palette generator →

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