#D048ED#D048ED

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

Color values

HEX#D048ED
RGBrgb(208, 72, 237)
HSLhsl(289, 82%, 61%)
HSVhsv(289, 70%, 93%)
CMYKcmyk(12.2%, 69.6%, 0%, 7.1%)
CIE-LABlab(56.25, 74.24, -57.74)
CIE-LCHlch(56.25, 94.05, 322.12°)
OKLaboklab(65.53% 0.1927 -0.1617)
OKLCHoklch(65.53% 0.252 320)
XYZxyz(43.6140, 24.1612, 82.4706)
Luminance0.2416 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D048ED #65ED48
analogous
#7E48ED #D048ED #ED48B7
triadic
#D048ED #EDD048 #48EDD0
tetradic
#D048ED #ED7E48 #65ED48 #48B7ED
square
#D048ED #ED7E48 #65ED48 #48B7ED
split-complementary
#D048ED #B7ED48 #48ED7E
monochromatic
#8F11AA #BE16E2 #D048ED #DE80F2 #EDB7F8

Accessibility & contrast

On white

3.60
#D048ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#D048ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D048ED
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D048ED#FFFFFF#000000##000000
##D048ED1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF2
Deuteranopia (green-blind)
#578CE9
Tritanopia (blue-blind)
#D16796
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d048ed;
/* rgb */ color: rgb(208, 72, 237);
/* oklch */ color: oklch(65.5% 0.252 320.0);
Tailwind
colors: {
  custom: {
    50: '#e286f3',
    500: '#d048ed',
    950: '#000000',
  },
}
SCSS
$custom: #d048ed;
$custom-light: #e286f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d048ed",
  "rgb": {
    "r": 208,
    "g": 72,
    "b": 237
  },
  "hsl": {
    "h": 289.455,
    "s": 82.09,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65533,
    "c": 0.25157,
    "h": 320
  },
  "luminance": 0.24159
}

Semantic roles & 50–950 ramp

primary
#D048ED
secondary
#B4E8A9
accent
#DE072D
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #D048ED

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

Preview Lab → · Contrast checker → · Palette generator →

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