#B48EFA#B48EFA

#B48EFA is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.6% C 0.156 H 298.7°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#B48EFA
RGBrgb(180, 142, 250)
HSLhsl(261, 92%, 77%)
HSVhsv(261, 43%, 98%)
CMYKcmyk(28%, 43.2%, 0%, 2%)
CIE-LABlab(66.48, 36.31, -48.87)
CIE-LCHlch(66.48, 60.88, 306.62°)
OKLaboklab(72.57% 0.0749 -0.1369)
OKLCHoklch(72.57% 0.156 298.7)
XYZxyz(45.7467, 35.9511, 94.9531)
Luminance0.3595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48EFA #D4FA8E
analogous
#8E9EFA #B48EFA #EA8EFA
triadic
#B48EFA #FAB48E #8EFAB4
tetradic
#B48EFA #FA8E9E #D4FA8E #8EFAEA
square
#B48EFA #FA8E9E #D4FA8E #8EFAEA
split-complementary
#B48EFA #FAEA8E #9EFA8E
monochromatic
#6619F5 #8D53F7 #B48EFA #DBC9FD #ECE2FE

Accessibility & contrast

On white

2.56
#B48EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#B48EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48EFA
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48EFA#FFFFFF#000000##000000
##B48EFA1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FE
Deuteranopia (green-blind)
#76A1F7
Tritanopia (blue-blind)
#A6A1B8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b48efa;
/* rgb */ color: rgb(180, 142, 250);
/* oklch */ color: oklch(72.6% 0.156 298.7);
Tailwind
colors: {
  custom: {
    50: '#cdaffc',
    500: '#b48efa',
    950: '#000000',
  },
}
SCSS
$custom: #b48efa;
$custom-light: #cdaffc;
$custom-dark: #000000;
JSON
{
  "hex": "#b48efa",
  "rgb": {
    "r": 180,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 261.111,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.7257,
    "c": 0.156,
    "h": 298.7
  },
  "luminance": 0.35951
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B48EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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