#D548E1#D548E1

#D548E1 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.5% C 0.244 H 324.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#D548E1
RGBrgb(213, 72, 225)
HSLhsl(295, 72%, 58%)
HSVhsv(295, 68%, 88%)
CMYKcmyk(5.3%, 68%, 0%, 11.8%)
CIE-LABlab(56.31, 73.20, -50.87)
CIE-LCHlch(56.31, 89.14, 325.20°)
OKLaboklab(65.5% 0.1987 -0.1415)
OKLCHoklch(65.5% 0.244 324.5)
XYZxyz(43.3474, 24.2198, 73.6113)
Luminance0.2422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D548E1 #54E148
analogous
#8848E1 #D548E1 #E148A0
triadic
#D548E1 #E1D548 #48E1D5
tetradic
#D548E1 #E18848 #54E148 #48A0E1
square
#D548E1 #E18848 #54E148 #48A0E1
split-complementary
#D548E1 #A0E148 #48E188
monochromatic
#8C1996 #BD21CB #D548E1 #E17DEA #EDB1F2

Accessibility & contrast

On white

3.59
#D548E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#D548E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D548E1
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D548E1#FFFFFF#000000##000000
##D548E11.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#217CE5
Deuteranopia (green-blind)
#648DDD
Tritanopia (blue-blind)
#D9618F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d548e1;
/* rgb */ color: rgb(213, 72, 225);
/* oklch */ color: oklch(65.5% 0.244 324.5);
Tailwind
colors: {
  custom: {
    50: '#e686eb',
    500: '#d548e1',
    950: '#000000',
  },
}
SCSS
$custom: #d548e1;
$custom-light: #e686eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d548e1",
  "rgb": {
    "r": 213,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 295.294,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65504,
    "c": 0.24389,
    "h": 324.5
  },
  "luminance": 0.24217
}

Semantic roles & 50–950 ramp

primary
#D548E1
secondary
#A9E1A4
accent
#EF3947
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D548E1

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

Preview Lab → · Contrast checker → · Palette generator →

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