#D48DF7#D48DF7

#D48DF7 is a light, vivid purple. Relative luminance 0.398; OKLCH L 75.4% C 0.163 H 313.8°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#D48DF7
RGBrgb(212, 141, 247)
HSLhsl(280, 87%, 76%)
HSVhsv(280, 43%, 97%)
CMYKcmyk(14.2%, 42.9%, 0%, 3.1%)
CIE-LABlab(69.30, 45.06, -42.58)
CIE-LCHlch(69.30, 61.99, 316.62°)
OKLaboklab(75.37% 0.1132 -0.1179)
OKLCHoklch(75.37% 0.163 313.8)
XYZxyz(53.4620, 39.7634, 92.8365)
Luminance0.3976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48DF7 #B0F78D
analogous
#9F8DF7 #D48DF7 #F78DE5
triadic
#D48DF7 #F7D48D #8DF7D4
tetradic
#D48DF7 #F79F8D #B0F78D #8DE5F7
square
#D48DF7 #F79F8D #B0F78D #8DE5F7
split-complementary
#D48DF7 #E5F78D #8DF79F
monochromatic
#A91BEF #BE54F3 #D48DF7 #EAC6FB #F4E2FD

Accessibility & contrast

On white

2.35
#D48DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#D48DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48DF7
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48DF7#FFFFFF#000000##000000
##D48DF71.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A5FB
Deuteranopia (green-blind)
#8BABF4
Tritanopia (blue-blind)
#D19CB6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d48df7;
/* rgb */ color: rgb(212, 141, 247);
/* oklch */ color: oklch(75.4% 0.163 313.8);
Tailwind
colors: {
  custom: {
    50: '#e3b0fa',
    500: '#d48df7',
    950: '#000000',
  },
}
SCSS
$custom: #d48df7;
$custom-light: #e3b0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d48df7",
  "rgb": {
    "r": 212,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 280.189,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75372,
    "c": 0.16344,
    "h": 313.8
  },
  "luminance": 0.39762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D48DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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