#D048FF#D048FF

#D048FF is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.7% C 0.267 H 315.8°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#D048FF
RGBrgb(208, 72, 255)
HSLhsl(285, 100%, 64%)
HSVhsv(285, 72%, 100%)
CMYKcmyk(18.4%, 71.8%, 0%, 0%)
CIE-LABlab(57.33, 77.54, -66.02)
CIE-LCHlch(57.33, 101.84, 319.59°)
OKLaboklab(66.65% 0.1912 -0.1859)
OKLCHoklch(66.65% 0.267 315.8)
XYZxyz(46.3769, 25.2664, 97.0223)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D048FF #77FF48
analogous
#7548FF #D048FF #FF48D3
triadic
#D048FF #FFD048 #48FFD0
tetradic
#D048FF #FF7548 #77FF48 #48D3FF
square
#D048FF #FF7548 #77FF48 #48D3FF
split-complementary
#D048FF #D3FF48 #48FF75
monochromatic
#9800CD #C00BFF #D048FF #E085FF #EFC2FF

Accessibility & contrast

On white

3.47
#D048FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#D048FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D048FF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D048FF#FFFFFF#000000##000000
##D048FF1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#458DFB
Tritanopia (blue-blind)
#CD6FA0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d048ff;
/* rgb */ color: rgb(208, 72, 255);
/* oklch */ color: oklch(66.7% 0.267 315.8);
Tailwind
colors: {
  custom: {
    50: '#e387ff',
    500: '#d048ff',
    950: '#000000',
  },
}
SCSS
$custom: #d048ff;
$custom-light: #e387ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d048ff",
  "rgb": {
    "r": 208,
    "g": 72,
    "b": 255
  },
  "hsl": {
    "h": 284.59,
    "s": 100,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66652,
    "c": 0.26672,
    "h": 315.8
  },
  "luminance": 0.25265
}

Semantic roles & 50–950 ramp

primary
#D048FF
secondary
#C2F1B1
accent
#E6003B
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160C18
muted
#847D86

Preview Lab

Preview with #D048FF

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

Preview Lab → · Contrast checker → · Palette generator →

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