#D48BFD#D48BFD

#D48BFD is a light, vivid violet. Relative luminance 0.396; OKLCH L 75.3% C 0.173 H 312.4°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#D48BFD
RGBrgb(212, 139, 253)
HSLhsl(278, 97%, 77%)
HSVhsv(278, 45%, 99%)
CMYKcmyk(16.2%, 45.1%, 0%, 0.8%)
CIE-LABlab(69.15, 47.37, -46.09)
CIE-LCHlch(69.15, 66.09, 315.78°)
OKLaboklab(75.35% 0.1169 -0.1281)
OKLCHoklch(75.35% 0.173 312.4)
XYZxyz(54.1106, 39.5552, 97.6939)
Luminance0.3955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48BFD #B4FD8B
analogous
#9B8BFD #D48BFD #FD8BED
triadic
#D48BFD #FDD48B #8BFDD4
tetradic
#D48BFD #FD9B8B #B4FD8B #8BEDFD
square
#D48BFD #FD9B8B #B4FD8B #8BEDFD
split-complementary
#D48BFD #EDFD8B #8BFD9B
monochromatic
#A713FB #BE4FFC #D48BFD #EAC7FE #F4E1FE

Accessibility & contrast

On white

2.36
#D48BFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#D48BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48BFD
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48BFD#FFFFFF#000000##000000
##D48BFD1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A5FF
Deuteranopia (green-blind)
#86AAFA
Tritanopia (blue-blind)
#D09CB8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d48bfd;
/* rgb */ color: rgb(212, 139, 253);
/* oklch */ color: oklch(75.3% 0.173 312.4);
Tailwind
colors: {
  custom: {
    50: '#e3aefe',
    500: '#d48bfd',
    950: '#000000',
  },
}
SCSS
$custom: #d48bfd;
$custom-light: #e3aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#d48bfd",
  "rgb": {
    "r": 212,
    "g": 139,
    "b": 253
  },
  "hsl": {
    "h": 278.421,
    "s": 96.61,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75349,
    "c": 0.17337,
    "h": 312.4
  },
  "luminance": 0.39554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D48BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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