#D48CD7#D48CD7

#D48CD7 is a light, vivid purple. Relative luminance 0.377; OKLCH L 73.8% C 0.131 H 325.4°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#D48CD7
RGBrgb(212, 140, 215)
HSLhsl(298, 48%, 70%)
HSVhsv(298, 35%, 84%)
CMYKcmyk(1.4%, 34.9%, 0%, 15.7%)
CIE-LABlab(67.77, 39.28, -27.34)
CIE-LCHlch(67.77, 47.85, 325.16°)
OKLaboklab(73.79% 0.1079 -0.0744)
OKLCHoklch(73.79% 0.131 325.4)
XYZxyz(48.7940, 37.6614, 68.9759)
Luminance0.3766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48CD7 #8FD78C
analogous
#AF8CD7 #D48CD7 #D78CB5
triadic
#D48CD7 #D7D48C #8CD7D4
tetradic
#D48CD7 #D7AF8C #8FD78C #8CB5D7
square
#D48CD7 #D7AF8C #8FD78C #8CB5D7
split-complementary
#D48CD7 #B5D78C #8CD7AF
monochromatic
#A83CAD #C35FC7 #D48CD7 #E5B9E7 #F6E7F7

Accessibility & contrast

On white

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

On black

8.53
#D48CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48CD7
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48CD7#FFFFFF#000000##000000
##D48CD71.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#869FDA
Deuteranopia (green-blind)
#98A8D4
Tritanopia (blue-blind)
#D893A8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d48cd7;
/* rgb */ color: rgb(212, 140, 215);
/* oklch */ color: oklch(73.8% 0.131 325.4);
Tailwind
colors: {
  custom: {
    50: '#e2afe3',
    500: '#d48cd7',
    950: '#000000',
  },
}
SCSS
$custom: #d48cd7;
$custom-light: #e2afe3;
$custom-dark: #000000;
JSON
{
  "hex": "#d48cd7",
  "rgb": {
    "r": 212,
    "g": 140,
    "b": 215
  },
  "hsl": {
    "h": 297.6,
    "s": 48.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73789,
    "c": 0.13109,
    "h": 325.4
  },
  "luminance": 0.3766
}

Semantic roles & 50–950 ramp

primary
#D48CD7
secondary
#D6EAD5
accent
#BC2A30
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#151015
muted
#847F83

Preview Lab

Preview with #D48CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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