#B48EF9#B48EF9

#B48EF9 is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.5% C 0.155 H 298.9°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#B48EF9
RGBrgb(180, 142, 249)
HSLhsl(261, 90%, 77%)
HSVhsv(261, 43%, 98%)
CMYKcmyk(27.7%, 43%, 0%, 2.4%)
CIE-LABlab(66.43, 36.07, -48.40)
CIE-LCHlch(66.43, 60.36, 306.70°)
OKLaboklab(72.52% 0.0747 -0.1355)
OKLCHoklch(72.52% 0.155 298.9)
XYZxyz(45.5903, 35.8885, 94.1295)
Luminance0.3589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48EF9 #D3F98E
analogous
#8E9EF9 #B48EF9 #E98EF9
triadic
#B48EF9 #F9B48E #8EF9B4
tetradic
#B48EF9 #F98E9E #D3F98E #8EF9E9
square
#B48EF9 #F98E9E #D3F98E #8EF9E9
split-complementary
#B48EF9 #F9E98E #9EF98E
monochromatic
#671AF3 #8D54F6 #B48EF9 #DBC8FC #ECE2FD

Accessibility & contrast

On white

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

On black

8.18
#B48EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48EF9
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48EF9#FFFFFF#000000##000000
##B48EF91.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FD
Deuteranopia (green-blind)
#77A1F6
Tritanopia (blue-blind)
#A6A1B8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b48ef9;
/* rgb */ color: rgb(180, 142, 249);
/* oklch */ color: oklch(72.5% 0.155 298.9);
Tailwind
colors: {
  custom: {
    50: '#cdaffc',
    500: '#b48ef9',
    950: '#000000',
  },
}
SCSS
$custom: #b48ef9;
$custom-light: #cdaffc;
$custom-dark: #000000;
JSON
{
  "hex": "#b48ef9",
  "rgb": {
    "r": 180,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 261.308,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.72519,
    "c": 0.15472,
    "h": 298.9
  },
  "luminance": 0.35889
}

Semantic roles & 50–950 ramp

primary
#B48EF9
secondary
#EAF6D5
accent
#E60094
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B48EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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