#D48AFA#D48AFA

#D48AFA is a light, vivid violet. Relative luminance 0.391; OKLCH L 75.0% C 0.172 H 313.3°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#D48AFA
RGBrgb(212, 138, 250)
HSLhsl(280, 92%, 76%)
HSVhsv(280, 45%, 98%)
CMYKcmyk(15.2%, 44.8%, 0%, 2%)
CIE-LABlab(68.81, 47.27, -44.99)
CIE-LCHlch(68.81, 65.25, 316.41°)
OKLaboklab(75.05% 0.1178 -0.1249)
OKLCHoklch(75.05% 0.172 313.3)
XYZxyz(53.4923, 39.0773, 95.1487)
Luminance0.3908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48AFA #B0FA8A
analogous
#9C8AFA #D48AFA #FA8AE8
triadic
#D48AFA #FAD48A #8AFAD4
tetradic
#D48AFA #FA9C8A #B0FA8A #8AE8FA
square
#D48AFA #FA9C8A #B0FA8A #8AE8FA
split-complementary
#D48AFA #E8FA8A #8AFA9C
monochromatic
#A915F5 #BE4FF7 #D48AFA #EAC5FD #F4E2FE

Accessibility & contrast

On white

2.38
#D48AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#D48AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48AFA
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48AFA#FFFFFF#000000##000000
##D48AFA1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FE
Deuteranopia (green-blind)
#87AAF7
Tritanopia (blue-blind)
#D19BB6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d48afa;
/* rgb */ color: rgb(212, 138, 250);
/* oklch */ color: oklch(75.0% 0.172 313.3);
Tailwind
colors: {
  custom: {
    50: '#e3aefc',
    500: '#d48afa',
    950: '#000000',
  },
}
SCSS
$custom: #d48afa;
$custom-light: #e3aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#d48afa",
  "rgb": {
    "r": 212,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 279.643,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75047,
    "c": 0.17167,
    "h": 313.3
  },
  "luminance": 0.39076
}

Semantic roles & 50–950 ramp

primary
#D48AFA
secondary
#E0F6D5
accent
#E6004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D48AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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