#D48AEB#D48AEB

#D48AEB is a light, vivid purple. Relative luminance 0.382; OKLCH L 74.3% C 0.155 H 317.9°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#D48AEB
RGBrgb(212, 138, 235)
HSLhsl(286, 71%, 73%)
HSVhsv(286, 41%, 92%)
CMYKcmyk(9.8%, 41.3%, 0%, 7.8%)
CIE-LABlab(68.15, 44.21, -37.80)
CIE-LCHlch(68.15, 58.17, 319.47°)
OKLaboklab(74.34% 0.1152 -0.1042)
OKLCHoklch(74.34% 0.155 317.9)
XYZxyz(51.2332, 38.1737, 83.2506)
Luminance0.3817 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48AEB #A1EB8A
analogous
#A38AEB #D48AEB #EB8AD1
triadic
#D48AEB #EBD48A #8AEBD4
tetradic
#D48AEB #EBA38A #A1EB8A #8AD1EB
square
#D48AEB #EBA38A #A1EB8A #8AD1EB
split-complementary
#D48AEB #D1EB8A #8AEBA3
monochromatic
#AC25D6 #C156E2 #D48AEB #E7BEF4 #F5E5FB

Accessibility & contrast

On white

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

On black

8.63
#D48AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48AEB
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48AEB#FFFFFF#000000##000000
##D48AEB1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA1EF
Deuteranopia (green-blind)
#8EA9E8
Tritanopia (blue-blind)
#D497AF
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d48aeb;
/* rgb */ color: rgb(212, 138, 235);
/* oklch */ color: oklch(74.3% 0.155 317.9);
Tailwind
colors: {
  custom: {
    50: '#e3adf1',
    500: '#d48aeb',
    950: '#000000',
  },
}
SCSS
$custom: #d48aeb;
$custom-light: #e3adf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d48aeb",
  "rgb": {
    "r": 212,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 285.773,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74338,
    "c": 0.15534,
    "h": 317.9
  },
  "luminance": 0.38172
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D48AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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