#D48EFE#D48EFE

#D48EFE is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.9% C 0.170 H 311.7°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#D48EFE
RGBrgb(212, 142, 254)
HSLhsl(278, 98%, 78%)
HSVhsv(278, 44%, 100%)
CMYKcmyk(16.5%, 44.1%, 0%, 0.4%)
CIE-LABlab(69.82, 45.99, -45.58)
CIE-LCHlch(69.82, 64.75, 315.26°)
OKLaboklab(75.87% 0.1129 -0.1266)
OKLCHoklch(75.87% 0.17 311.7)
XYZxyz(54.7106, 40.4998, 98.6819)
Luminance0.4050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48EFE #B8FE8E
analogous
#9C8EFE #D48EFE #FE8EF0
triadic
#D48EFE #FED48E #8EFED4
tetradic
#D48EFE #FE9C8E #B8FE8E #8EF0FE
square
#D48EFE #FE9C8E #B8FE8E #8EF0FE
split-complementary
#D48EFE #F0FE8E #8EFE9C
monochromatic
#A615FD #BD51FD #D48EFE #EBCBFF #F3E1FF

Accessibility & contrast

On white

2.31
#D48EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#D48EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48EFE
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48EFE#FFFFFF#000000##000000
##D48EFE1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A7FF
Deuteranopia (green-blind)
#89ACFB
Tritanopia (blue-blind)
#D09FBA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d48efe;
/* rgb */ color: rgb(212, 142, 254);
/* oklch */ color: oklch(75.9% 0.170 311.7);
Tailwind
colors: {
  custom: {
    50: '#e3b0ff',
    500: '#d48efe',
    950: '#000000',
  },
}
SCSS
$custom: #d48efe;
$custom-light: #e3b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d48efe",
  "rgb": {
    "r": 212,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 277.5,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75867,
    "c": 0.16964,
    "h": 311.7
  },
  "luminance": 0.40499
}

Semantic roles & 50–950 ramp

primary
#D48EFE
secondary
#E1F7D4
accent
#E60056
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D48EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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