#B48BFE#B48BFE

#B48BFE is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.3% C 0.166 H 298.6°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#B48BFE
RGBrgb(180, 139, 254)
HSLhsl(261, 98%, 77%)
HSVhsv(261, 45%, 100%)
CMYKcmyk(29.1%, 45.3%, 0%, 0.4%)
CIE-LABlab(66.00, 38.94, -51.82)
CIE-LCHlch(66.00, 64.82, 306.93°)
OKLaboklab(72.27% 0.0794 -0.1454)
OKLCHoklch(72.27% 0.166 298.6)
XYZxyz(45.9402, 35.3239, 98.1446)
Luminance0.3532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48BFE #D5FE8B
analogous
#8B9CFE #B48BFE #ED8BFE
triadic
#B48BFE #FEB48B #8BFEB4
tetradic
#B48BFE #FE8B9C #D5FE8B #8BFEED
square
#B48BFE #FE8B9C #D5FE8B #8BFEED
split-complementary
#B48BFE #FEED8B #9CFE8B
monochromatic
#6612FD #8D4EFD #B48BFE #DBC8FF #EBE1FF

Accessibility & contrast

On white

2.60
#B48BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#B48BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48BFE
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48BFE#FFFFFF#000000##000000
##B48BFE1.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#719FFB
Tritanopia (blue-blind)
#A5A0B8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b48bfe;
/* rgb */ color: rgb(180, 139, 254);
/* oklch */ color: oklch(72.3% 0.166 298.6);
Tailwind
colors: {
  custom: {
    50: '#cdadff',
    500: '#b48bfe',
    950: '#000000',
  },
}
SCSS
$custom: #b48bfe;
$custom-light: #cdadff;
$custom-dark: #000000;
JSON
{
  "hex": "#b48bfe",
  "rgb": {
    "r": 180,
    "g": 139,
    "b": 254
  },
  "hsl": {
    "h": 261.391,
    "s": 98.291,
    "l": 77.059
  },
  "oklch": {
    "l": 0.72271,
    "c": 0.16571,
    "h": 298.6
  },
  "luminance": 0.35324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B48BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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