#D548E2#D548E2

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

Color values

HEX#D548E2
RGBrgb(213, 72, 226)
HSLhsl(295, 73%, 58%)
HSVhsv(295, 68%, 89%)
CMYKcmyk(5.8%, 68.1%, 0%, 11.4%)
CIE-LABlab(56.36, 73.37, -51.34)
CIE-LCHlch(56.36, 89.55, 325.02°)
OKLaboklab(65.56% 0.1986 -0.1429)
OKLCHoklch(65.56% 0.245 324.3)
XYZxyz(43.4842, 24.2745, 74.3318)
Luminance0.2427 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D548E2 #55E248
analogous
#8848E2 #D548E2 #E248A2
triadic
#D548E2 #E2D548 #48E2D5
tetradic
#D548E2 #E28848 #55E248 #48A2E2
square
#D548E2 #E28848 #55E248 #48A2E2
split-complementary
#D548E2 #A2E248 #48E288
monochromatic
#8D1898 #BE20CC #D548E2 #E17DEA #EDB2F3

Accessibility & contrast

On white

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

On black

5.85
#D548E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D548E2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D548E2#FFFFFF#000000##000000
##D548E21.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7CE6
Deuteranopia (green-blind)
#648DDE
Tritanopia (blue-blind)
#D96190
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d548e2;
/* rgb */ color: rgb(213, 72, 226);
/* oklch */ color: oklch(65.6% 0.245 324.3);
Tailwind
colors: {
  custom: {
    50: '#e686ec',
    500: '#d548e2',
    950: '#000000',
  },
}
SCSS
$custom: #d548e2;
$custom-light: #e686ec;
$custom-dark: #000000;
JSON
{
  "hex": "#d548e2",
  "rgb": {
    "r": 213,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 294.935,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6556,
    "c": 0.24469,
    "h": 324.3
  },
  "luminance": 0.24272
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D548E2

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

Preview Lab → · Contrast checker → · Palette generator →

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