#D48DFF#D48DFF

#D48DFF is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.8% C 0.172 H 311.6°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#D48DFF
RGBrgb(212, 141, 255)
HSLhsl(277, 100%, 78%)
HSVhsv(277, 45%, 100%)
CMYKcmyk(16.9%, 44.7%, 0%, 0%)
CIE-LABlab(69.66, 46.73, -46.38)
CIE-LCHlch(69.66, 65.84, 315.22°)
OKLaboklab(75.76% 0.1144 -0.1289)
OKLCHoklch(75.76% 0.172 311.6)
XYZxyz(54.7231, 40.2678, 99.4781)
Luminance0.4027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48DFF #B8FF8D
analogous
#9B8DFF #D48DFF #FF8DF1
triadic
#D48DFF #FFD48D #8DFFD4
tetradic
#D48DFF #FF9B8D #B8FF8D #8DF1FF
square
#D48DFF #FF9B8D #B8FF8D #8DF1FF
split-complementary
#D48DFF #F1FF8D #8DFF9B
monochromatic
#A613FF #BD50FF #D48DFF #EBCAFF #F3E0FF

Accessibility & contrast

On white

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

On black

9.05
#D48DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48DFF
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48DFF#FFFFFF#000000##000000
##D48DFF1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A7FF
Deuteranopia (green-blind)
#87ACFC
Tritanopia (blue-blind)
#D09EBA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d48dff;
/* rgb */ color: rgb(212, 141, 255);
/* oklch */ color: oklch(75.8% 0.172 311.6);
Tailwind
colors: {
  custom: {
    50: '#e3b0ff',
    500: '#d48dff',
    950: '#000000',
  },
}
SCSS
$custom: #d48dff;
$custom-light: #e3b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d48dff",
  "rgb": {
    "r": 212,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 277.368,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75759,
    "c": 0.17238,
    "h": 311.6
  },
  "luminance": 0.40267
}

Semantic roles & 50–950 ramp

primary
#D48DFF
secondary
#E1F7D4
accent
#E60057
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161118
muted
#848086

Preview Lab

Preview with #D48DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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