#D48CED#D48CED

#D48CED is a light, vivid purple. Relative luminance 0.389; OKLCH L 74.7% C 0.154 H 317.0°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#D48CED
RGBrgb(212, 140, 237)
HSLhsl(285, 73%, 74%)
HSVhsv(285, 41%, 93%)
CMYKcmyk(10.5%, 40.9%, 0%, 7.1%)
CIE-LABlab(68.66, 43.55, -38.11)
CIE-LCHlch(68.66, 57.87, 318.81°)
OKLaboklab(74.75% 0.1128 -0.1051)
OKLCHoklch(74.75% 0.154 317)
XYZxyz(51.8133, 38.8691, 84.8774)
Luminance0.3887 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48CED #A5ED8C
analogous
#A48CED #D48CED #ED8CD6
triadic
#D48CED #EDD48C #8CEDD4
tetradic
#D48CED #EDA48C #A5ED8C #8CD6ED
square
#D48CED #EDA48C #A5ED8C #8CD6ED
split-complementary
#D48CED #D6ED8C #8CEDA4
monochromatic
#AC22DC #C057E5 #D48CED #E8C1F5 #F5E5FB

Accessibility & contrast

On white

2.39
#D48CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#D48CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48CED
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48CED#FFFFFF#000000##000000
##D48CED1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F1
Deuteranopia (green-blind)
#8FAAEA
Tritanopia (blue-blind)
#D499B1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d48ced;
/* rgb */ color: rgb(212, 140, 237);
/* oklch */ color: oklch(74.7% 0.154 317.0);
Tailwind
colors: {
  custom: {
    50: '#e3aff3',
    500: '#d48ced',
    950: '#000000',
  },
}
SCSS
$custom: #d48ced;
$custom-light: #e3aff3;
$custom-dark: #000000;
JSON
{
  "hex": "#d48ced",
  "rgb": {
    "r": 212,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 284.536,
    "s": 72.932,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74747,
    "c": 0.15413,
    "h": 317
  },
  "luminance": 0.38868
}

Semantic roles & 50–950 ramp

primary
#D48CED
secondary
#DFF3D8
accent
#D51043
background
#FEFAFE
surface
#FCF5FD
border
#D5CFD5
text
#161017
muted
#847F85

Preview Lab

Preview with #D48CED

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

Preview Lab → · Contrast checker → · Palette generator →

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