#D48BF8#D48BF8

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

Color values

HEX#D48BF8
RGBrgb(212, 139, 248)
HSLhsl(280, 89%, 76%)
HSVhsv(280, 44%, 97%)
CMYKcmyk(14.5%, 44%, 0%, 2.7%)
CIE-LABlab(68.93, 46.32, -43.71)
CIE-LCHlch(68.93, 63.69, 316.66°)
OKLaboklab(75.11% 0.1161 -0.1212)
OKLCHoklch(75.11% 0.168 313.8)
XYZxyz(53.3245, 39.2408, 93.5539)
Luminance0.3924 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48BF8 #AFF88B
analogous
#9D8BF8 #D48BF8 #F88BE6
triadic
#D48BF8 #F8D48B #8BF8D4
tetradic
#D48BF8 #F89D8B #AFF88B #8BE6F8
square
#D48BF8 #F89D8B #AFF88B #8BE6F8
split-complementary
#D48BF8 #E6F88B #8BF89D
monochromatic
#A918F1 #BF51F5 #D48BF8 #E9C5FB #F4E2FD

Accessibility & contrast

On white

2.37
#D48BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#D48BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48BF8
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48BF8#FFFFFF#000000##000000
##D48BF81.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A4FC
Deuteranopia (green-blind)
#89AAF5
Tritanopia (blue-blind)
#D19BB6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d48bf8;
/* rgb */ color: rgb(212, 139, 248);
/* oklch */ color: oklch(75.1% 0.168 313.8);
Tailwind
colors: {
  custom: {
    50: '#e3aefb',
    500: '#d48bf8',
    950: '#000000',
  },
}
SCSS
$custom: #d48bf8;
$custom-light: #e3aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#d48bf8",
  "rgb": {
    "r": 212,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 280.183,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75106,
    "c": 0.16783,
    "h": 313.8
  },
  "luminance": 0.3924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D48BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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