#D48AFF#D48AFF

#D48AFF is a light, vivid violet. Relative luminance 0.394; OKLCH L 75.3% C 0.177 H 312.0°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#D48AFF
RGBrgb(212, 138, 255)
HSLhsl(278, 100%, 77%)
HSVhsv(278, 46%, 100%)
CMYKcmyk(16.9%, 45.9%, 0%, 0%)
CIE-LABlab(69.04, 48.31, -47.36)
CIE-LCHlch(69.04, 67.65, 315.57°)
OKLaboklab(75.29% 0.1185 -0.1317)
OKLCHoklch(75.29% 0.177 312)
XYZxyz(54.2867, 39.3951, 99.3326)
Luminance0.3939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48AFF #B5FF8A
analogous
#9A8AFF #D48AFF #FF8AEF
triadic
#D48AFF #FFD48A #8AFFD4
tetradic
#D48AFF #FF9A8A #B5FF8A #8AEFFF
square
#D48AFF #FF9A8A #B5FF8A #8AEFFF
split-complementary
#D48AFF #EFFF8A #8AFF9A
monochromatic
#A710FF #BE4DFF #D48AFF #EAC7FF #F4E0FF

Accessibility & contrast

On white

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

On black

8.88
#D48AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48AFF
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48AFF#FFFFFF#000000##000000
##D48AFF1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A5FF
Deuteranopia (green-blind)
#84AAFC
Tritanopia (blue-blind)
#D09CB9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d48aff;
/* rgb */ color: rgb(212, 138, 255);
/* oklch */ color: oklch(75.3% 0.177 312.0);
Tailwind
colors: {
  custom: {
    50: '#e3aeff',
    500: '#d48aff',
    950: '#000000',
  },
}
SCSS
$custom: #d48aff;
$custom-light: #e3aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#d48aff",
  "rgb": {
    "r": 212,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 277.949,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75293,
    "c": 0.1772,
    "h": 312
  },
  "luminance": 0.39394
}

Semantic roles & 50–950 ramp

primary
#D48AFF
secondary
#E1F7D4
accent
#E60054
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D48AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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