#D48AEC#D48AEC

#D48AEC is a light, vivid purple. Relative luminance 0.382; OKLCH L 74.4% C 0.156 H 317.5°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#D48AEC
RGBrgb(212, 138, 236)
HSLhsl(285, 72%, 73%)
HSVhsv(285, 42%, 93%)
CMYKcmyk(10.2%, 41.5%, 0%, 7.5%)
CIE-LABlab(68.19, 44.41, -38.28)
CIE-LCHlch(68.19, 58.63, 319.24°)
OKLaboklab(74.38% 0.1154 -0.1056)
OKLCHoklch(74.38% 0.156 317.5)
XYZxyz(51.3780, 38.2316, 84.0136)
Luminance0.3823 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48AEC #A2EC8A
analogous
#A38AEC #D48AEC #EC8AD3
triadic
#D48AEC #ECD48A #8AECD4
tetradic
#D48AEC #ECA38A #A2EC8A #8AD3EC
square
#D48AEC #ECA38A #A2EC8A #8AD3EC
split-complementary
#D48AEC #D3EC8A #8AECA3
monochromatic
#AC23D8 #C155E3 #D48AEC #E7BFF5 #F5E5FB

Accessibility & contrast

On white

2.43
#D48AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#D48AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48AEC
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48AEC#FFFFFF#000000##000000
##D48AEC1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1F0
Deuteranopia (green-blind)
#8EA9E9
Tritanopia (blue-blind)
#D497B0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d48aec;
/* rgb */ color: rgb(212, 138, 236);
/* oklch */ color: oklch(74.4% 0.156 317.5);
Tailwind
colors: {
  custom: {
    50: '#e3adf2',
    500: '#d48aec',
    950: '#000000',
  },
}
SCSS
$custom: #d48aec;
$custom-light: #e3adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d48aec",
  "rgb": {
    "r": 212,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 285.306,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74384,
    "c": 0.1564,
    "h": 317.5
  },
  "luminance": 0.3823
}

Semantic roles & 50–950 ramp

primary
#D48AEC
secondary
#DFF2D9
accent
#D41141
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D48AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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