#D48CD9#D48CD9

#D48CD9 is a light, vivid purple. Relative luminance 0.378; OKLCH L 73.9% C 0.133 H 324.5°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#D48CD9
RGBrgb(212, 140, 217)
HSLhsl(296, 50%, 70%)
HSVhsv(296, 35%, 85%)
CMYKcmyk(2.3%, 35.5%, 0%, 14.9%)
CIE-LABlab(67.85, 39.65, -28.33)
CIE-LCHlch(67.85, 48.73, 324.46°)
OKLaboklab(73.87% 0.1084 -0.0772)
OKLCHoklch(73.87% 0.133 324.5)
XYZxyz(49.0526, 37.7648, 70.3376)
Luminance0.3776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48CD9 #91D98C
analogous
#AE8CD9 #D48CD9 #D98CB7
triadic
#D48CD9 #D9D48C #8CD9D4
tetradic
#D48CD9 #D9AE8C #91D98C #8CB7D9
square
#D48CD9 #D9AE8C #91D98C #8CB7D9
split-complementary
#D48CD9 #B7D98C #8CD9AE
monochromatic
#A93AB0 #C35ECA #D48CD9 #E5BAE8 #F6E8F7

Accessibility & contrast

On white

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

On black

8.55
#D48CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48CD9
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48CD9#FFFFFF#000000##000000
##D48CD91.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A0DC
Deuteranopia (green-blind)
#97A8D6
Tritanopia (blue-blind)
#D794A9
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d48cd9;
/* rgb */ color: rgb(212, 140, 217);
/* oklch */ color: oklch(73.9% 0.133 324.5);
Tailwind
colors: {
  custom: {
    50: '#e2afe5',
    500: '#d48cd9',
    950: '#000000',
  },
}
SCSS
$custom: #d48cd9;
$custom-light: #e2afe5;
$custom-dark: #000000;
JSON
{
  "hex": "#d48cd9",
  "rgb": {
    "r": 212,
    "g": 140,
    "b": 217
  },
  "hsl": {
    "h": 296.104,
    "s": 50.327,
    "l": 70
  },
  "oklch": {
    "l": 0.73872,
    "c": 0.1331,
    "h": 324.5
  },
  "luminance": 0.37763
}

Semantic roles & 50–950 ramp

primary
#D48CD9
secondary
#D7EBD6
accent
#BE2832
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#151015
muted
#847F84

Preview Lab

Preview with #D48CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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