#D272EA#D272EA

#D272EA is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.5% C 0.192 H 319.3°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#D272EA
RGBrgb(210, 114, 234)
HSLhsl(288, 74%, 68%)
HSVhsv(288, 51%, 92%)
CMYKcmyk(10.3%, 51.3%, 0%, 8.2%)
CIE-LABlab(63.08, 55.79, -45.21)
CIE-LCHlch(63.08, 71.80, 320.98°)
OKLaboklab(70.5% 0.1459 -0.1254)
OKLCHoklch(70.5% 0.192 319.3)
XYZxyz(47.4450, 31.6786, 81.4413)
Luminance0.3168 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D272EA #8AEA72
analogous
#9672EA #D272EA #EA72C6
triadic
#D272EA #EAD272 #72EAD2
tetradic
#D272EA #EA9672 #8AEA72 #72C6EA
square
#D272EA #EA9672 #8AEA72 #72C6EA
split-complementary
#D272EA #C6EA72 #72EA96
monochromatic
#A31DC4 #C13DE2 #D272EA #E3A7F2 #F4DDFA

Accessibility & contrast

On white

2.86
#D272EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#D272EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D272EA
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D272EA#FFFFFF#000000##000000
##D272EA1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C92EE
Deuteranopia (green-blind)
#7A9CE7
Tritanopia (blue-blind)
#D383A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d272ea;
/* rgb */ color: rgb(210, 114, 234);
/* oklch */ color: oklch(70.5% 0.192 319.3);
Tailwind
colors: {
  custom: {
    50: '#e29ef1',
    500: '#d272ea',
    950: '#000000',
  },
}
SCSS
$custom: #d272ea;
$custom-light: #e29ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#d272ea",
  "rgb": {
    "r": 210,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 288,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70498,
    "c": 0.19238,
    "h": 319.3
  },
  "luminance": 0.31677
}

Semantic roles & 50–950 ramp

primary
#D272EA
secondary
#D1EECA
accent
#D60F37
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D272EA

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

Preview Lab → · Contrast checker → · Palette generator →

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