#D548E3#D548E3

#D548E3 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.6% C 0.245 H 324.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#D548E3
RGBrgb(213, 72, 227)
HSLhsl(295, 73%, 59%)
HSVhsv(295, 68%, 89%)
CMYKcmyk(6.2%, 68.3%, 0%, 11%)
CIE-LABlab(56.42, 73.54, -51.82)
CIE-LCHlch(56.42, 89.96, 324.83°)
OKLaboklab(65.62% 0.1986 -0.1443)
OKLCHoklch(65.62% 0.245 324)
XYZxyz(43.6219, 24.3295, 75.0566)
Luminance0.2433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D548E3 #56E348
analogous
#8748E3 #D548E3 #E348A3
triadic
#D548E3 #E3D548 #48E3D5
tetradic
#D548E3 #E38748 #56E348 #48A3E3
square
#D548E3 #E38748 #56E348 #48A3E3
split-complementary
#D548E3 #A3E348 #48E387
monochromatic
#8D1799 #BE20CE #D548E3 #E17DEB #EDB2F3

Accessibility & contrast

On white

3.58
#D548E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#D548E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D548E3
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D548E3#FFFFFF#000000##000000
##D548E31.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7DE7
Deuteranopia (green-blind)
#638DDF
Tritanopia (blue-blind)
#D96291
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d548e3;
/* rgb */ color: rgb(213, 72, 227);
/* oklch */ color: oklch(65.6% 0.245 324.0);
Tailwind
colors: {
  custom: {
    50: '#e686ec',
    500: '#d548e3',
    950: '#000000',
  },
}
SCSS
$custom: #d548e3;
$custom-light: #e686ec;
$custom-dark: #000000;
JSON
{
  "hex": "#d548e3",
  "rgb": {
    "r": 213,
    "g": 72,
    "b": 227
  },
  "hsl": {
    "h": 294.581,
    "s": 73.46,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65617,
    "c": 0.24549,
    "h": 324
  },
  "luminance": 0.24327
}

Semantic roles & 50–950 ramp

primary
#D548E3
secondary
#AAE2A5
accent
#F03848
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D548E3

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

Preview Lab → · Contrast checker → · Palette generator →

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