#D272F5#D272F5

#D272F5 is a light, highly saturated purple. Relative luminance 0.323; OKLCH L 71.1% C 0.203 H 316.3°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#D272F5
RGBrgb(210, 114, 245)
HSLhsl(284, 87%, 70%)
HSVhsv(284, 53%, 96%)
CMYKcmyk(14.3%, 53.5%, 0%, 3.9%)
CIE-LABlab(63.62, 57.95, -50.45)
CIE-LCHlch(63.62, 76.83, 318.96°)
OKLaboklab(71.07% 0.1469 -0.1406)
OKLCHoklch(71.07% 0.203 316.3)
XYZxyz(49.0746, 32.3304, 90.0238)
Luminance0.3233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D272F5 #95F572
analogous
#9072F5 #D272F5 #F572D7
triadic
#D272F5 #F5D272 #72F5D2
tetradic
#D272F5 #F59072 #95F572 #72D7F5
square
#D272F5 #F59072 #95F572 #72D7F5
split-complementary
#D272F5 #D7F572 #72F590
monochromatic
#A610DD #C039F1 #D272F5 #E4ABF9 #F6E2FD

Accessibility & contrast

On white

2.81
#D272F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#D272F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D272F5
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D272F5#FFFFFF#000000##000000
##D272F51.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5494F9
Deuteranopia (green-blind)
#749DF2
Tritanopia (blue-blind)
#D087A9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d272f5;
/* rgb */ color: rgb(210, 114, 245);
/* oklch */ color: oklch(71.1% 0.203 316.3);
Tailwind
colors: {
  custom: {
    50: '#e29ef9',
    500: '#d272f5',
    950: '#000000',
  },
}
SCSS
$custom: #d272f5;
$custom-light: #e29ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#d272f5",
  "rgb": {
    "r": 210,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 283.969,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.7107,
    "c": 0.20336,
    "h": 316.3
  },
  "luminance": 0.32329
}

Semantic roles & 50–950 ramp

primary
#D272F5
secondary
#D9F3CF
accent
#E3023E
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D272F5

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

Preview Lab → · Contrast checker → · Palette generator →

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