#D48FEE#D48FEE

#D48FEE is a light, vivid purple. Relative luminance 0.398; OKLCH L 75.3% C 0.150 H 316.4°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#D48FEE
RGBrgb(212, 143, 238)
HSLhsl(284, 74%, 75%)
HSVhsv(284, 40%, 93%)
CMYKcmyk(10.9%, 39.9%, 0%, 6.7%)
CIE-LABlab(69.34, 42.16, -37.59)
CIE-LCHlch(69.34, 56.48, 318.28°)
OKLaboklab(75.27% 0.1087 -0.1036)
OKLCHoklch(75.27% 0.15 316.4)
XYZxyz(52.4042, 39.8164, 85.7971)
Luminance0.3982 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48FEE #A9EE8F
analogous
#A58FEE #D48FEE #EE8FD8
triadic
#D48FEE #EED48F #8FEED4
tetradic
#D48FEE #EEA58F #A9EE8F #8FD8EE
square
#D48FEE #EEA58F #A9EE8F #8FD8EE
split-complementary
#D48FEE #D8EE8F #8FEEA5
monochromatic
#AB25DE #C05AE6 #D48FEE #E8C4F6 #F5E4FB

Accessibility & contrast

On white

2.34
#D48FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#D48FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48FEE
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48FEE#FFFFFF#000000##000000
##D48FEE1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A5F1
Deuteranopia (green-blind)
#91ABEB
Tritanopia (blue-blind)
#D39CB3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d48fee;
/* rgb */ color: rgb(212, 143, 238);
/* oklch */ color: oklch(75.3% 0.150 316.4);
Tailwind
colors: {
  custom: {
    50: '#e2b1f4',
    500: '#d48fee',
    950: '#000000',
  },
}
SCSS
$custom: #d48fee;
$custom-light: #e2b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d48fee",
  "rgb": {
    "r": 212,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 283.579,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75274,
    "c": 0.15017,
    "h": 316.4
  },
  "luminance": 0.39815
}

Semantic roles & 50–950 ramp

primary
#D48FEE
secondary
#E0F3D8
accent
#D61046
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D48FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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