#D48BF7#D48BF7

#D48BF7 is a light, vivid purple. Relative luminance 0.392; OKLCH L 75.1% C 0.167 H 314.1°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#D48BF7
RGBrgb(212, 139, 247)
HSLhsl(281, 87%, 76%)
HSVhsv(281, 44%, 97%)
CMYKcmyk(14.2%, 43.7%, 0%, 3.1%)
CIE-LABlab(68.88, 46.12, -43.24)
CIE-LCHlch(68.88, 63.22, 316.85°)
OKLaboklab(75.06% 0.1159 -0.1198)
OKLCHoklch(75.06% 0.167 314.1)
XYZxyz(53.1698, 39.1789, 92.7390)
Luminance0.3918 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48BF7 #AEF78B
analogous
#9E8BF7 #D48BF7 #F78BE4
triadic
#D48BF7 #F7D48B #8BF7D4
tetradic
#D48BF7 #F79E8B #AEF78B #8BE4F7
square
#D48BF7 #F79E8B #AEF78B #8BE4F7
split-complementary
#D48BF7 #E4F78B #8BF79E
monochromatic
#AA18EF #BF52F3 #D48BF7 #E9C4FB #F4E2FD

Accessibility & contrast

On white

2.38
#D48BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#D48BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48BF7
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48BF7#FFFFFF#000000##000000
##D48BF71.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A4FB
Deuteranopia (green-blind)
#89AAF4
Tritanopia (blue-blind)
#D19BB5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d48bf7;
/* rgb */ color: rgb(212, 139, 247);
/* oklch */ color: oklch(75.1% 0.167 314.1);
Tailwind
colors: {
  custom: {
    50: '#e3aefa',
    500: '#d48bf7',
    950: '#000000',
  },
}
SCSS
$custom: #d48bf7;
$custom-light: #e3aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#d48bf7",
  "rgb": {
    "r": 212,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 280.556,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75058,
    "c": 0.16673,
    "h": 314.1
  },
  "luminance": 0.39178
}

Semantic roles & 50–950 ramp

primary
#D48BF7
secondary
#E0F5D6
accent
#E4024B
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D48BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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