#D48CDC#D48CDC

#D48CDC is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.0% C 0.136 H 323.3°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#D48CDC
RGBrgb(212, 140, 220)
HSLhsl(294, 53%, 71%)
HSVhsv(294, 36%, 86%)
CMYKcmyk(3.6%, 36.4%, 0%, 13.7%)
CIE-LABlab(67.96, 40.22, -29.81)
CIE-LCHlch(67.96, 50.06, 323.46°)
OKLaboklab(74% 0.1091 -0.0814)
OKLCHoklch(74% 0.136 323.3)
XYZxyz(49.4463, 37.9223, 72.4114)
Luminance0.3792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48CDC #94DC8C
analogous
#AC8CDC #D48CDC #DC8CBC
triadic
#D48CDC #DCD48C #8CDCD4
tetradic
#D48CDC #DCAC8C #94DC8C #8CBCDC
square
#D48CDC #DCAC8C #94DC8C #8CBCDC
split-complementary
#D48CDC #BCDC8C #8CDCAC
monochromatic
#A937B6 #C25DCE #D48CDC #E6BBEA #F6E8F8

Accessibility & contrast

On white

2.45
#D48CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#D48CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48CDC
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48CDC#FFFFFF#000000##000000
##D48CDC1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A0DF
Deuteranopia (green-blind)
#96A9D9
Tritanopia (blue-blind)
#D794AA
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d48cdc;
/* rgb */ color: rgb(212, 140, 220);
/* oklch */ color: oklch(74.0% 0.136 323.3);
Tailwind
colors: {
  custom: {
    50: '#e2afe7',
    500: '#d48cdc',
    950: '#000000',
  },
}
SCSS
$custom: #d48cdc;
$custom-light: #e2afe7;
$custom-dark: #000000;
JSON
{
  "hex": "#d48cdc",
  "rgb": {
    "r": 212,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 294,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73998,
    "c": 0.13615,
    "h": 323.3
  },
  "luminance": 0.37921
}

Semantic roles & 50–950 ramp

primary
#D48CDC
secondary
#D9EDD7
accent
#C12534
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#151016
muted
#847F84

Preview Lab

Preview with #D48CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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