#D48CF8#D48CF8

#D48CF8 is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.3% C 0.166 H 313.6°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#D48CF8
RGBrgb(212, 140, 248)
HSLhsl(280, 89%, 76%)
HSVhsv(280, 44%, 97%)
CMYKcmyk(14.5%, 43.5%, 0%, 2.7%)
CIE-LABlab(69.13, 45.80, -43.38)
CIE-LCHlch(69.13, 63.08, 316.55°)
OKLaboklab(75.26% 0.1147 -0.1203)
OKLCHoklch(75.26% 0.166 313.6)
XYZxyz(53.4700, 39.5317, 93.6024)
Luminance0.3953 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48CF8 #B0F88C
analogous
#9E8CF8 #D48CF8 #F88CE6
triadic
#D48CF8 #F8D48C #8CF8D4
tetradic
#D48CF8 #F89E8C #B0F88C #8CE6F8
square
#D48CF8 #F89E8C #B0F88C #8CE6F8
split-complementary
#D48CF8 #E6F88C #8CF89E
monochromatic
#A919F1 #BE52F4 #D48CF8 #EAC6FC #F4E2FD

Accessibility & contrast

On white

2.36
#D48CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#D48CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48CF8
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48CF8#FFFFFF#000000##000000
##D48CF81.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FC
Deuteranopia (green-blind)
#8AABF5
Tritanopia (blue-blind)
#D19CB6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d48cf8;
/* rgb */ color: rgb(212, 140, 248);
/* oklch */ color: oklch(75.3% 0.166 313.6);
Tailwind
colors: {
  custom: {
    50: '#e3affb',
    500: '#d48cf8',
    950: '#000000',
  },
}
SCSS
$custom: #d48cf8;
$custom-light: #e3affb;
$custom-dark: #000000;
JSON
{
  "hex": "#d48cf8",
  "rgb": {
    "r": 212,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 280,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75263,
    "c": 0.1662,
    "h": 313.6
  },
  "luminance": 0.39531
}

Semantic roles & 50–950 ramp

primary
#D48CF8
secondary
#E0F5D6
accent
#E5004D
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #D48CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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