#D272CC#D272CC

#D272CC is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.1% C 0.164 H 329.5°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#D272CC
RGBrgb(210, 114, 204)
HSLhsl(304, 52%, 64%)
HSVhsv(304, 46%, 82%)
CMYKcmyk(0%, 45.7%, 2.9%, 17.6%)
CIE-LABlab(61.74, 50.22, -30.51)
CIE-LCHlch(61.74, 58.76, 328.72°)
OKLaboklab(69.07% 0.1413 -0.0832)
OKLCHoklch(69.07% 0.164 329.5)
XYZxyz(43.4942, 30.0983, 60.6336)
Luminance0.3010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D272CC #72D278
analogous
#A872D2 #D272CC #D2729C
triadic
#D272CC #CCD272 #72CCD2
tetradic
#D272CC #D2A872 #72D278 #729CD2
square
#D272CC #D2A872 #72D278 #729CD2
split-complementary
#D272CC #9CD272 #72D2A8
monochromatic
#993192 #C344BB #D272CC #E1A0DD #F0CFEE

Accessibility & contrast

On white

2.99
#D272CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#D272CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D272CC
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D272CC#FFFFFF#000000##000000
##D272CC1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8DCF
Deuteranopia (green-blind)
#879AC9
Tritanopia (blue-blind)
#D87A96
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d272cc;
/* rgb */ color: rgb(210, 114, 204);
/* oklch */ color: oklch(69.1% 0.164 329.5);
Tailwind
colors: {
  custom: {
    50: '#e29ddb',
    500: '#d272cc',
    950: '#000000',
  },
}
SCSS
$custom: #d272cc;
$custom-light: #e29ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#d272cc",
  "rgb": {
    "r": 210,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 303.75,
    "s": 51.613,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6907,
    "c": 0.16395,
    "h": 329.5
  },
  "luminance": 0.30096
}

Semantic roles & 50–950 ramp

primary
#D272CC
secondary
#BFE1C1
accent
#BF3026
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #D272CC

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

Preview Lab → · Contrast checker → · Palette generator →

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