#B48DFD#B48DFD

#B48DFD is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.6% C 0.161 H 298.4°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#B48DFD
RGBrgb(180, 141, 253)
HSLhsl(261, 97%, 77%)
HSVhsv(261, 44%, 99%)
CMYKcmyk(28.9%, 44.3%, 0%, 0.8%)
CIE-LABlab(66.40, 37.59, -50.64)
CIE-LCHlch(66.40, 63.07, 306.59°)
OKLaboklab(72.56% 0.0766 -0.142)
OKLCHoklch(72.56% 0.161 298.4)
XYZxyz(46.0727, 35.8445, 97.4008)
Luminance0.3584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48DFD #D6FD8D
analogous
#8D9EFD #B48DFD #EC8DFD
triadic
#B48DFD #FDB48D #8DFDB4
tetradic
#B48DFD #FD8D9E #D6FD8D #8DFDEC
square
#B48DFD #FD8D9E #D6FD8D #8DFDEC
split-complementary
#B48DFD #FDEC8D #9EFD8D
monochromatic
#6515FB #8C51FC #B48DFD #DCC9FE #EBE1FE

Accessibility & contrast

On white

2.57
#B48DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#B48DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48DFD
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48DFD#FFFFFF#000000##000000
##B48DFD1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA2FF
Deuteranopia (green-blind)
#73A0FA
Tritanopia (blue-blind)
#A5A1B9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b48dfd;
/* rgb */ color: rgb(180, 141, 253);
/* oklch */ color: oklch(72.6% 0.161 298.4);
Tailwind
colors: {
  custom: {
    50: '#cdaffe',
    500: '#b48dfd',
    950: '#000000',
  },
}
SCSS
$custom: #b48dfd;
$custom-light: #cdaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#b48dfd",
  "rgb": {
    "r": 180,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 260.893,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.72556,
    "c": 0.16137,
    "h": 298.4
  },
  "luminance": 0.35845
}

Semantic roles & 50–950 ramp

primary
#B48DFD
secondary
#EBF7D4
accent
#E60096
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B48DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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