#D48EEE#D48EEE

#D48EEE is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.1% C 0.152 H 316.5°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#D48EEE
RGBrgb(212, 142, 238)
HSLhsl(284, 74%, 75%)
HSVhsv(284, 40%, 93%)
CMYKcmyk(10.9%, 40.3%, 0%, 6.7%)
CIE-LABlab(69.12, 42.69, -37.93)
CIE-LCHlch(69.12, 57.10, 318.38°)
OKLaboklab(75.11% 0.1101 -0.1046)
OKLCHoklch(75.11% 0.152 316.5)
XYZxyz(52.2547, 39.5175, 85.7473)
Luminance0.3952 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48EEE #A8EE8E
analogous
#A48EEE #D48EEE #EE8ED8
triadic
#D48EEE #EED48E #8EEED4
tetradic
#D48EEE #EEA48E #A8EE8E #8ED8EE
square
#D48EEE #EEA48E #A8EE8E #8ED8EE
split-complementary
#D48EEE #D8EE8E #8EEEA4
monochromatic
#AC24DE #C059E6 #D48EEE #E8C3F6 #F5E4FB

Accessibility & contrast

On white

2.36
#D48EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#D48EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48EEE
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48EEE#FFFFFF#000000##000000
##D48EEE1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA4F2
Deuteranopia (green-blind)
#90ABEB
Tritanopia (blue-blind)
#D39BB3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d48eee;
/* rgb */ color: rgb(212, 142, 238);
/* oklch */ color: oklch(75.1% 0.152 316.5);
Tailwind
colors: {
  custom: {
    50: '#e2b0f4',
    500: '#d48eee',
    950: '#000000',
  },
}
SCSS
$custom: #d48eee;
$custom-light: #e2b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d48eee",
  "rgb": {
    "r": 212,
    "g": 142,
    "b": 238
  },
  "hsl": {
    "h": 283.75,
    "s": 73.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.75113,
    "c": 0.15185,
    "h": 316.5
  },
  "luminance": 0.39516
}

Semantic roles & 50–950 ramp

primary
#D48EEE
secondary
#DFF3D8
accent
#D61045
background
#FEFAFE
surface
#FCF5FD
border
#D5CFD5
text
#161117
muted
#848085

Preview Lab

Preview with #D48EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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