#D48ECC#D48ECC

#D48ECC is a light, moderate purple. Relative luminance 0.377; OKLCH L 73.7% C 0.117 H 330.8°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#D48ECC
RGBrgb(212, 142, 204)
HSLhsl(307, 45%, 69%)
HSVhsv(307, 33%, 83%)
CMYKcmyk(0%, 33%, 3.8%, 16.9%)
CIE-LABlab(67.80, 36.19, -21.18)
CIE-LCHlch(67.80, 41.93, 329.66°)
OKLaboklab(73.68% 0.102 -0.0571)
OKLCHoklch(73.68% 0.117 330.8)
XYZxyz(47.7228, 37.7047, 61.8790)
Luminance0.3770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48ECC #8ED496
analogous
#B98ED4 #D48ECC #D48EA9
triadic
#D48ECC #CCD48E #8ECCD4
tetradic
#D48ECC #D4B98E #8ED496 #8EA9D4
square
#D48ECC #D4B98E #8ED496 #8EA9D4
split-complementary
#D48ECC #A9D48E #8ED4B9
monochromatic
#A8409C #C362B8 #D48ECC #E5BAE0 #F6E7F4

Accessibility & contrast

On white

2.46
#D48ECC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#D48ECC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48ECC
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48ECC#FFFFFF#000000##000000
##D48ECC1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9FCE
Deuteranopia (green-blind)
#9DA9CA
Tritanopia (blue-blind)
#DA92A4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d48ecc;
/* rgb */ color: rgb(212, 142, 204);
/* oklch */ color: oklch(73.7% 0.117 330.8);
Tailwind
colors: {
  custom: {
    50: '#e2b0db',
    500: '#d48ecc',
    950: '#000000',
  },
}
SCSS
$custom: #d48ecc;
$custom-light: #e2b0db;
$custom-dark: #000000;
JSON
{
  "hex": "#d48ecc",
  "rgb": {
    "r": 212,
    "g": 142,
    "b": 204
  },
  "hsl": {
    "h": 306.857,
    "s": 44.872,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73679,
    "c": 0.11693,
    "h": 330.8
  },
  "luminance": 0.37703
}

Semantic roles & 50–950 ramp

primary
#D48ECC
secondary
#D5E9D7
accent
#B83D2D
background
#FDFAFD
surface
#FBF5FB
border
#D4CFD4
text
#151015
muted
#837F83

Preview Lab

Preview with #D48ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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