#D48DFE#D48DFE

#D48DFE is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.7% C 0.171 H 311.9°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#D48DFE
RGBrgb(212, 141, 254)
HSLhsl(278, 98%, 77%)
HSVhsv(278, 44%, 100%)
CMYKcmyk(16.5%, 44.5%, 0%, 0.4%)
CIE-LABlab(69.61, 46.52, -45.91)
CIE-LCHlch(69.61, 65.36, 315.38°)
OKLaboklab(75.71% 0.1143 -0.1275)
OKLCHoklch(75.71% 0.171 311.9)
XYZxyz(54.5625, 40.2036, 98.6325)
Luminance0.4020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48DFE #B7FE8D
analogous
#9B8DFE #D48DFE #FE8DF0
triadic
#D48DFE #FED48D #8DFED4
tetradic
#D48DFE #FE9B8D #B7FE8D #8DF0FE
square
#D48DFE #FE9B8D #B7FE8D #8DF0FE
split-complementary
#D48DFE #F0FE8D #8DFE9B
monochromatic
#A614FD #BD50FD #D48DFE #EBCAFF #F4E1FF

Accessibility & contrast

On white

2.32
#D48DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#D48DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48DFE
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48DFE#FFFFFF#000000##000000
##D48DFE1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A6FF
Deuteranopia (green-blind)
#88ACFB
Tritanopia (blue-blind)
#D09EBA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d48dfe;
/* rgb */ color: rgb(212, 141, 254);
/* oklch */ color: oklch(75.7% 0.171 311.9);
Tailwind
colors: {
  custom: {
    50: '#e3b0ff',
    500: '#d48dfe',
    950: '#000000',
  },
}
SCSS
$custom: #d48dfe;
$custom-light: #e3b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d48dfe",
  "rgb": {
    "r": 212,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 277.699,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.7571,
    "c": 0.17126,
    "h": 311.9
  },
  "luminance": 0.40203
}

Semantic roles & 50–950 ramp

primary
#D48DFE
secondary
#E1F7D4
accent
#E60055
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161018
muted
#847F86

Preview Lab

Preview with #D48DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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