#B48EFD#B48EFD

#B48EFD is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.7% C 0.160 H 298.1°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#B48EFD
RGBrgb(180, 142, 253)
HSLhsl(261, 97%, 77%)
HSVhsv(261, 44%, 99%)
CMYKcmyk(28.9%, 43.9%, 0%, 0.8%)
CIE-LABlab(66.63, 37.04, -50.28)
CIE-LCHlch(66.63, 62.45, 306.38°)
OKLaboklab(72.73% 0.0753 -0.141)
OKLCHoklch(72.73% 0.16 298.1)
XYZxyz(46.2208, 36.1407, 97.4502)
Luminance0.3614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48EFD #D7FD8E
analogous
#8E9FFD #B48EFD #EC8EFD
triadic
#B48EFD #FDB48E #8EFDB4
tetradic
#B48EFD #FD8E9F #D7FD8E #8EFDEC
square
#B48EFD #FD8E9F #D7FD8E #8EFDEC
split-complementary
#B48EFD #FDEC8E #9FFD8E
monochromatic
#6416FB #8C52FC #B48EFD #DCCAFE #EBE1FE

Accessibility & contrast

On white

2.55
#B48EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#B48EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48EFD
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48EFD#FFFFFF#000000##000000
##B48EFD1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#75A1FA
Tritanopia (blue-blind)
#A5A2B9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b48efd;
/* rgb */ color: rgb(180, 142, 253);
/* oklch */ color: oklch(72.7% 0.160 298.1);
Tailwind
colors: {
  custom: {
    50: '#cdaffe',
    500: '#b48efd',
    950: '#000000',
  },
}
SCSS
$custom: #b48efd;
$custom-light: #cdaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#b48efd",
  "rgb": {
    "r": 180,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 260.541,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.72727,
    "c": 0.15983,
    "h": 298.1
  },
  "luminance": 0.36141
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B48EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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