#D48EFB#D48EFB

#D48EFB is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.7% C 0.166 H 312.5°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#D48EFB
RGBrgb(212, 142, 251)
HSLhsl(279, 93%, 77%)
HSVhsv(279, 43%, 98%)
CMYKcmyk(15.5%, 43.4%, 0%, 1.6%)
CIE-LABlab(69.69, 45.36, -44.15)
CIE-LCHlch(69.69, 63.30, 315.77°)
OKLaboklab(75.72% 0.1124 -0.1225)
OKLCHoklch(75.72% 0.166 312.5)
XYZxyz(54.2340, 40.3092, 96.1715)
Luminance0.4031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48EFB #B5FB8E
analogous
#9E8EFB #D48EFB #FB8EEC
triadic
#D48EFB #FBD48E #8EFBD4
tetradic
#D48EFB #FB9E8E #B5FB8E #8EECFB
square
#D48EFB #FB9E8E #B5FB8E #8EECFB
split-complementary
#D48EFB #ECFB8E #8EFB9E
monochromatic
#A718F7 #BE53F9 #D48EFB #EAC9FD #F4E1FE

Accessibility & contrast

On white

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

On black

9.06
#D48EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48EFB
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48EFB#FFFFFF#000000##000000
##D48EFB1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FF
Deuteranopia (green-blind)
#8AACF8
Tritanopia (blue-blind)
#D09EB9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d48efb;
/* rgb */ color: rgb(212, 142, 251);
/* oklch */ color: oklch(75.7% 0.166 312.5);
Tailwind
colors: {
  custom: {
    50: '#e3b0fd',
    500: '#d48efb',
    950: '#000000',
  },
}
SCSS
$custom: #d48efb;
$custom-light: #e3b0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d48efb",
  "rgb": {
    "r": 212,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 278.532,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75722,
    "c": 0.16627,
    "h": 312.5
  },
  "luminance": 0.40308
}

Semantic roles & 50–950 ramp

primary
#D48EFB
secondary
#E1F6D5
accent
#E60052
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161117
muted
#848085

Preview Lab

Preview with #D48EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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