#D272EB#D272EB

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

Color values

HEX#D272EB
RGBrgb(210, 114, 235)
HSLhsl(288, 75%, 68%)
HSVhsv(288, 51%, 92%)
CMYKcmyk(10.6%, 51.5%, 0%, 7.8%)
CIE-LABlab(63.12, 55.98, -45.69)
CIE-LCHlch(63.12, 72.26, 320.78°)
OKLaboklab(70.55% 0.146 -0.1268)
OKLCHoklch(70.55% 0.193 319)
XYZxyz(47.5891, 31.7362, 82.2001)
Luminance0.3173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D272EB #8BEB72
analogous
#9572EB #D272EB #EB72C7
triadic
#D272EB #EBD272 #72EBD2
tetradic
#D272EB #EB9572 #8BEB72 #72C7EB
square
#D272EB #EB9572 #8BEB72 #72C7EB
split-complementary
#D272EB #C7EB72 #72EB95
monochromatic
#A31CC6 #C13CE3 #D272EB #E3A8F3 #F4DDFA

Accessibility & contrast

On white

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

On black

7.35
#D272EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D272EB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D272EB#FFFFFF#000000##000000
##D272EB1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92EF
Deuteranopia (green-blind)
#799CE8
Tritanopia (blue-blind)
#D283A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d272eb;
/* rgb */ color: rgb(210, 114, 235);
/* oklch */ color: oklch(70.5% 0.193 319.0);
Tailwind
colors: {
  custom: {
    50: '#e29ef2',
    500: '#d272eb',
    950: '#000000',
  },
}
SCSS
$custom: #d272eb;
$custom-light: #e29ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#d272eb",
  "rgb": {
    "r": 210,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 287.603,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70549,
    "c": 0.19337,
    "h": 319
  },
  "luminance": 0.31734
}

Semantic roles & 50–950 ramp

primary
#D272EB
secondary
#D2EFCA
accent
#D70E38
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D272EB

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

Preview Lab → · Contrast checker → · Palette generator →

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