#D272EF#D272EF

#D272EF is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.8% C 0.197 H 317.9°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#D272EF
RGBrgb(210, 114, 239)
HSLhsl(286, 80%, 69%)
HSVhsv(286, 52%, 94%)
CMYKcmyk(12.1%, 52.3%, 0%, 6.3%)
CIE-LABlab(63.32, 56.76, -47.60)
CIE-LCHlch(63.32, 74.08, 320.02°)
OKLaboklab(70.76% 0.1464 -0.1324)
OKLCHoklch(70.76% 0.197 317.9)
XYZxyz(48.1735, 31.9700, 85.2779)
Luminance0.3197 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D272EF #8FEF72
analogous
#9472EF #D272EF #EF72CE
triadic
#D272EF #EFD272 #72EFD2
tetradic
#D272EF #EF9472 #8FEF72 #72CEEF
square
#D272EF #EF9472 #8FEF72 #72CEEF
split-complementary
#D272EF #CEEF72 #72EF94
monochromatic
#A518CF #C03BE9 #D272EF #E4A9F5 #F5E0FB

Accessibility & contrast

On white

2.84
#D272EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#D272EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D272EF
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D272EF#FFFFFF#000000##000000
##D272EF1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5893F3
Deuteranopia (green-blind)
#779CEC
Tritanopia (blue-blind)
#D285A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d272ef;
/* rgb */ color: rgb(210, 114, 239);
/* oklch */ color: oklch(70.8% 0.197 317.9);
Tailwind
colors: {
  custom: {
    50: '#e29ef5',
    500: '#d272ef',
    950: '#000000',
  },
}
SCSS
$custom: #d272ef;
$custom-light: #e29ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#d272ef",
  "rgb": {
    "r": 210,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 286.08,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70755,
    "c": 0.19735,
    "h": 317.9
  },
  "luminance": 0.31968
}

Semantic roles & 50–950 ramp

primary
#D272EF
secondary
#D5F1CC
accent
#DC0A3A
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160F17
muted
#847E85

Preview Lab

Preview with #D272EF

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

Preview Lab → · Contrast checker → · Palette generator →

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