#D48BFB#D48BFB

#D48BFB is a light, vivid violet. Relative luminance 0.394; OKLCH L 75.3% C 0.171 H 312.9°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#D48BFB
RGBrgb(212, 139, 251)
HSLhsl(279, 93%, 76%)
HSVhsv(279, 45%, 98%)
CMYKcmyk(15.5%, 44.6%, 0%, 1.6%)
CIE-LABlab(69.06, 46.95, -45.14)
CIE-LCHlch(69.06, 65.13, 316.12°)
OKLaboklab(75.25% 0.1166 -0.1253)
OKLCHoklch(75.25% 0.171 312.9)
XYZxyz(53.7936, 39.4285, 96.0248)
Luminance0.3943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48BFB #B2FB8B
analogous
#9C8BFB #D48BFB #FB8BEA
triadic
#D48BFB #FBD48B #8BFBD4
tetradic
#D48BFB #FB9C8B #B2FB8B #8BEAFB
square
#D48BFB #FB9C8B #B2FB8B #8BEAFB
split-complementary
#D48BFB #EAFB8B #8BFB9C
monochromatic
#A815F7 #BE50F9 #D48BFB #EAC6FD #F4E1FE

Accessibility & contrast

On white

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

On black

8.89
#D48BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48BFB
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48BFB#FFFFFF#000000##000000
##D48BFB1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A5FF
Deuteranopia (green-blind)
#87AAF8
Tritanopia (blue-blind)
#D19CB7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d48bfb;
/* rgb */ color: rgb(212, 139, 251);
/* oklch */ color: oklch(75.3% 0.171 312.9);
Tailwind
colors: {
  custom: {
    50: '#e3aefd',
    500: '#d48bfb',
    950: '#000000',
  },
}
SCSS
$custom: #d48bfb;
$custom-light: #e3aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#d48bfb",
  "rgb": {
    "r": 212,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 279.107,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75251,
    "c": 0.17115,
    "h": 312.9
  },
  "luminance": 0.39427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D48BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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