#D272CD#D272CD

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

Color values

HEX#D272CD
RGBrgb(210, 114, 205)
HSLhsl(303, 52%, 64%)
HSVhsv(303, 46%, 82%)
CMYKcmyk(0%, 45.7%, 2.4%, 17.6%)
CIE-LABlab(61.78, 50.40, -31.01)
CIE-LCHlch(61.78, 59.17, 328.39°)
OKLaboklab(69.11% 0.1415 -0.0846)
OKLCHoklch(69.11% 0.165 329.1)
XYZxyz(43.6145, 30.1464, 61.2673)
Luminance0.3014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D272CD #72D277
analogous
#A772D2 #D272CD #D2729D
triadic
#D272CD #CDD272 #72CDD2
tetradic
#D272CD #D2A772 #72D277 #729DD2
square
#D272CD #D2A772 #72D277 #729DD2
split-complementary
#D272CD #9DD272 #72D2A7
monochromatic
#993193 #C344BD #D272CD #E1A0DD #F0CFEE

Accessibility & contrast

On white

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

On black

7.03
#D272CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D272CD
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D272CD#FFFFFF#000000##000000
##D272CD1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d272cd;
/* rgb */ color: rgb(210, 114, 205);
/* oklch */ color: oklch(69.1% 0.165 329.1);
Tailwind
colors: {
  custom: {
    50: '#e29ddc',
    500: '#d272cd',
    950: '#000000',
  },
}
SCSS
$custom: #d272cd;
$custom-light: #e29ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#d272cd",
  "rgb": {
    "r": 210,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 303.125,
    "s": 51.613,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69114,
    "c": 0.16485,
    "h": 329.1
  },
  "luminance": 0.30144
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D272CD

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

Preview Lab → · Contrast checker → · Palette generator →

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