#D272E7#D272E7

#D272E7 is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.3% C 0.189 H 320.2°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#D272E7
RGBrgb(210, 114, 231)
HSLhsl(289, 71%, 68%)
HSVhsv(289, 51%, 91%)
CMYKcmyk(9.1%, 50.6%, 0%, 9.4%)
CIE-LABlab(62.93, 55.20, -43.77)
CIE-LCHlch(62.93, 70.45, 321.59°)
OKLaboklab(70.35% 0.1455 -0.1212)
OKLCHoklch(70.35% 0.189 320.2)
XYZxyz(47.0177, 31.5077, 79.1907)
Luminance0.3151 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D272E7 #87E772
analogous
#9872E7 #D272E7 #E772C1
triadic
#D272E7 #E7D272 #72E7D2
tetradic
#D272E7 #E79872 #87E772 #72C1E7
square
#D272E7 #E79872 #87E772 #72C1E7
split-complementary
#D272E7 #C1E772 #72E798
monochromatic
#A220BE #C13EDE #D272E7 #E3A6F0 #F3DBF9

Accessibility & contrast

On white

2.88
#D272E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#D272E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D272E7
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D272E7#FFFFFF#000000##000000
##D272E71.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E92EB
Deuteranopia (green-blind)
#7B9CE4
Tritanopia (blue-blind)
#D382A2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d272e7;
/* rgb */ color: rgb(210, 114, 231);
/* oklch */ color: oklch(70.3% 0.189 320.2);
Tailwind
colors: {
  custom: {
    50: '#e29eef',
    500: '#d272e7',
    950: '#000000',
  },
}
SCSS
$custom: #d272e7;
$custom-light: #e29eef;
$custom-dark: #000000;
JSON
{
  "hex": "#d272e7",
  "rgb": {
    "r": 210,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 289.231,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70347,
    "c": 0.18942,
    "h": 320.2
  },
  "luminance": 0.31506
}

Semantic roles & 50–950 ramp

primary
#D272E7
secondary
#CFEDC8
accent
#D31335
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D272E7

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

Preview Lab → · Contrast checker → · Palette generator →

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