#B48DF5#B48DF5

#B48DF5 is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.1% C 0.151 H 299.9°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#B48DF5
RGBrgb(180, 141, 245)
HSLhsl(263, 84%, 76%)
HSVhsv(263, 42%, 96%)
CMYKcmyk(26.5%, 42.4%, 0%, 3.9%)
CIE-LABlab(66.02, 35.67, -46.86)
CIE-LCHlch(66.02, 58.90, 307.28°)
OKLaboklab(72.14% 0.0754 -0.131)
OKLCHoklch(72.14% 0.151 299.9)
XYZxyz(44.8249, 35.3454, 90.8293)
Luminance0.3535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48DF5 #CEF58D
analogous
#8D9AF5 #B48DF5 #E88DF5
triadic
#B48DF5 #F5B48D #8DF5B4
tetradic
#B48DF5 #F58D9A #CEF58D #8DF5E8
square
#B48DF5 #F58D9A #CEF58D #8DF5E8
split-complementary
#B48DF5 #F5E88D #9AF58D
monochromatic
#6A1CEB #8F55F0 #B48DF5 #D9C5FA #ECE3FD

Accessibility & contrast

On white

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

On black

8.07
#B48DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48DF5
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48DF5#FFFFFF#000000##000000
##B48DF51.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A0F9
Deuteranopia (green-blind)
#78A0F2
Tritanopia (blue-blind)
#A89FB5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b48df5;
/* rgb */ color: rgb(180, 141, 245);
/* oklch */ color: oklch(72.1% 0.151 299.9);
Tailwind
colors: {
  custom: {
    50: '#ccaff9',
    500: '#b48df5',
    950: '#000000',
  },
}
SCSS
$custom: #b48df5;
$custom-light: #ccaff9;
$custom-dark: #000000;
JSON
{
  "hex": "#b48df5",
  "rgb": {
    "r": 180,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 262.5,
    "s": 83.871,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72141,
    "c": 0.15119,
    "h": 299.9
  },
  "luminance": 0.35346
}

Semantic roles & 50–950 ramp

primary
#B48DF5
secondary
#E9F4D7
accent
#E0058E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B48DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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