#B48EF8#B48EF8

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

Color values

HEX#B48EF8
RGBrgb(180, 142, 248)
HSLhsl(262, 88%, 76%)
HSVhsv(262, 43%, 97%)
CMYKcmyk(27.4%, 42.7%, 0%, 2.7%)
CIE-LABlab(66.39, 35.83, -47.92)
CIE-LCHlch(66.39, 59.84, 306.79°)
OKLaboklab(72.47% 0.0746 -0.1341)
OKLCHoklch(72.47% 0.153 299.1)
XYZxyz(45.4347, 35.8263, 93.3102)
Luminance0.3583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48EF8 #D2F88E
analogous
#8E9DF8 #B48EF8 #E98EF8
triadic
#B48EF8 #F8B48E #8EF8B4
tetradic
#B48EF8 #F88E9D #D2F88E #8EF8E9
square
#B48EF8 #F88E9D #D2F88E #8EF8E9
split-complementary
#B48EF8 #F8E98E #9DF88E
monochromatic
#671BF1 #8E54F4 #B48EF8 #DAC8FC #ECE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B48EF8#FFFFFF#000000##000000
##B48EF81.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)
#70A1FC
Deuteranopia (green-blind)
#78A1F5
Tritanopia (blue-blind)
#A7A1B7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b48ef8;
/* rgb */ color: rgb(180, 142, 248);
/* oklch */ color: oklch(72.5% 0.153 299.1);
Tailwind
colors: {
  custom: {
    50: '#cdaffb',
    500: '#b48ef8',
    950: '#000000',
  },
}
SCSS
$custom: #b48ef8;
$custom-light: #cdaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#b48ef8",
  "rgb": {
    "r": 180,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 261.509,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72467,
    "c": 0.15345,
    "h": 299.1
  },
  "luminance": 0.35827
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B48EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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