#D272DF#D272DF

#D272DF is a light, vivid purple. Relative luminance 0.311; OKLCH L 70.0% C 0.182 H 322.7°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#D272DF
RGBrgb(210, 114, 223)
HSLhsl(293, 63%, 66%)
HSVhsv(293, 49%, 87%)
CMYKcmyk(5.8%, 48.9%, 0%, 12.5%)
CIE-LABlab(62.56, 53.68, -39.89)
CIE-LCHlch(62.56, 66.88, 323.38°)
OKLaboklab(69.95% 0.1445 -0.1101)
OKLCHoklch(69.95% 0.182 322.7)
XYZxyz(45.9136, 31.0660, 73.3756)
Luminance0.3106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D272DF #7FDF72
analogous
#9B72DF #D272DF #DF72B5
triadic
#D272DF #DFD272 #72DFD2
tetradic
#D272DF #DF9B72 #7FDF72 #72B5DF
square
#D272DF #DF9B72 #7FDF72 #72B5DF
split-complementary
#D272DF #B5DF72 #72DF9B
monochromatic
#9F28AF #C240D4 #D272DF #E2A4EA #F2D6F6

Accessibility & contrast

On white

2.91
#D272DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#D272DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D272DF
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D272DF#FFFFFF#000000##000000
##D272DF1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6390E3
Deuteranopia (green-blind)
#7F9BDC
Tritanopia (blue-blind)
#D5809E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d272df;
/* rgb */ color: rgb(210, 114, 223);
/* oklch */ color: oklch(70.0% 0.182 322.7);
Tailwind
colors: {
  custom: {
    50: '#e29ee9',
    500: '#d272df',
    950: '#000000',
  },
}
SCSS
$custom: #d272df;
$custom-light: #e29ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#d272df",
  "rgb": {
    "r": 210,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 292.844,
    "s": 63.006,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69952,
    "c": 0.18164,
    "h": 322.7
  },
  "luminance": 0.31064
}

Semantic roles & 50–950 ramp

primary
#D272DF
secondary
#C9E8C4
accent
#CB1B30
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D272DF

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

Preview Lab → · Contrast checker → · Palette generator →

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