#D48AFE#D48AFE

#D48AFE is a light, vivid violet. Relative luminance 0.393; OKLCH L 75.2% C 0.176 H 312.2°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#D48AFE
RGBrgb(212, 138, 254)
HSLhsl(278, 98%, 77%)
HSVhsv(278, 46%, 100%)
CMYKcmyk(16.5%, 45.7%, 0%, 0.4%)
CIE-LABlab(68.99, 48.10, -46.89)
CIE-LCHlch(68.99, 67.17, 315.73°)
OKLaboklab(75.24% 0.1184 -0.1304)
OKLCHoklch(75.24% 0.176 312.2)
XYZxyz(54.1262, 39.3309, 98.4870)
Luminance0.3933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48AFE #B4FE8A
analogous
#9A8AFE #D48AFE #FE8AEE
triadic
#D48AFE #FED48A #8AFED4
tetradic
#D48AFE #FE9A8A #B4FE8A #8AEEFE
square
#D48AFE #FE9A8A #B4FE8A #8AEEFE
split-complementary
#D48AFE #EEFE8A #8AFE9A
monochromatic
#A711FD #BE4DFD #D48AFE #EAC7FF #F4E1FF

Accessibility & contrast

On white

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

On black

8.87
#D48AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48AFE
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48AFE#FFFFFF#000000##000000
##D48AFE1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#85AAFB
Tritanopia (blue-blind)
#D09CB8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d48afe;
/* rgb */ color: rgb(212, 138, 254);
/* oklch */ color: oklch(75.2% 0.176 312.2);
Tailwind
colors: {
  custom: {
    50: '#e3aeff',
    500: '#d48afe',
    950: '#000000',
  },
}
SCSS
$custom: #d48afe;
$custom-light: #e3aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#d48afe",
  "rgb": {
    "r": 212,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 278.276,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75244,
    "c": 0.17609,
    "h": 312.2
  },
  "luminance": 0.3933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D48AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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