#B48DF8#B48DF8

#B48DF8 is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.3% C 0.155 H 299.3°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#B48DF8
RGBrgb(180, 141, 248)
HSLhsl(262, 88%, 76%)
HSVhsv(262, 43%, 97%)
CMYKcmyk(27.4%, 43.1%, 0%, 2.7%)
CIE-LABlab(66.16, 36.39, -48.28)
CIE-LCHlch(66.16, 60.46, 307.00°)
OKLaboklab(72.3% 0.0759 -0.1352)
OKLCHoklch(72.3% 0.155 299.3)
XYZxyz(45.2866, 35.5301, 93.2609)
Luminance0.3553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48DF8 #D1F88D
analogous
#8D9CF8 #B48DF8 #EA8DF8
triadic
#B48DF8 #F8B48D #8DF8B4
tetradic
#B48DF8 #F88D9C #D1F88D #8DF8EA
square
#B48DF8 #F88D9C #D1F88D #8DF8EA
split-complementary
#B48DF8 #F8EA8D #9CF88D
monochromatic
#681AF1 #8E53F4 #B48DF8 #DAC7FC #ECE2FD

Accessibility & contrast

On white

2.59
#B48DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#B48DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48DF8
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48DF8#FFFFFF#000000##000000
##B48DF81.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA1FC
Deuteranopia (green-blind)
#77A0F5
Tritanopia (blue-blind)
#A7A0B7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b48df8;
/* rgb */ color: rgb(180, 141, 248);
/* oklch */ color: oklch(72.3% 0.155 299.3);
Tailwind
colors: {
  custom: {
    50: '#cdaffb',
    500: '#b48df8',
    950: '#000000',
  },
}
SCSS
$custom: #b48df8;
$custom-light: #cdaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#b48df8",
  "rgb": {
    "r": 180,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 261.869,
    "s": 88.43,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72295,
    "c": 0.15501,
    "h": 299.3
  },
  "luminance": 0.3553
}

Semantic roles & 50–950 ramp

primary
#B48DF8
secondary
#EAF5D6
accent
#E50092
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B48DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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