#D272DB#D272DB

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

Color values

HEX#D272DB
RGBrgb(210, 114, 219)
HSLhsl(295, 59%, 65%)
HSVhsv(295, 48%, 86%)
CMYKcmyk(4.1%, 47.9%, 0%, 14.1%)
CIE-LABlab(62.38, 52.93, -37.94)
CIE-LCHlch(62.38, 65.13, 324.37°)
OKLaboklab(69.76% 0.1439 -0.1044)
OKLCHoklch(69.76% 0.178 324)
XYZxyz(45.3806, 30.8529, 70.5689)
Luminance0.3085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D272DB #7BDB72
analogous
#9D72DB #D272DB #DB72AF
triadic
#D272DB #DBD272 #72DBD2
tetradic
#D272DB #DB9D72 #7BDB72 #72AFDB
square
#D272DB #DB9D72 #7BDB72 #72AFDB
split-complementary
#D272DB #AFDB72 #72DB9D
monochromatic
#9D2BA8 #C241CF #D272DB #E2A3E7 #F1D4F4

Accessibility & contrast

On white

2.93
#D272DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#D272DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D272DB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D272DB#FFFFFF#000000##000000
##D272DB1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#658FDF
Deuteranopia (green-blind)
#819BD8
Tritanopia (blue-blind)
#D67F9C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d272db;
/* rgb */ color: rgb(210, 114, 219);
/* oklch */ color: oklch(69.8% 0.178 324.0);
Tailwind
colors: {
  custom: {
    50: '#e29ee6',
    500: '#d272db',
    950: '#000000',
  },
}
SCSS
$custom: #d272db;
$custom-light: #e29ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#d272db",
  "rgb": {
    "r": 210,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 294.857,
    "s": 59.322,
    "l": 65.294
  },
  "oklch": {
    "l": 0.69759,
    "c": 0.17781,
    "h": 324
  },
  "luminance": 0.30851
}

Semantic roles & 50–950 ramp

primary
#D272DB
secondary
#C6E6C3
accent
#C71F2D
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D272DB

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

Preview Lab → · Contrast checker → · Palette generator →

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