#B48EFE#B48EFE

#B48EFE is a light, vivid violet. Relative luminance 0.362; OKLCH L 72.8% C 0.161 H 297.9°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#B48EFE
RGBrgb(180, 142, 254)
HSLhsl(260, 98%, 78%)
HSVhsv(260, 44%, 100%)
CMYKcmyk(29.1%, 44.1%, 0%, 0.4%)
CIE-LABlab(66.68, 37.28, -50.75)
CIE-LCHlch(66.68, 62.97, 306.30°)
OKLaboklab(72.78% 0.0755 -0.1423)
OKLCHoklch(72.78% 0.161 297.9)
XYZxyz(46.3805, 36.2046, 98.2914)
Luminance0.3620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48EFE #D8FE8E
analogous
#8EA0FE #B48EFE #EC8EFE
triadic
#B48EFE #FEB48E #8EFEB4
tetradic
#B48EFE #FE8EA0 #D8FE8E #8EFEEC
square
#B48EFE #FE8EA0 #D8FE8E #8EFEEC
split-complementary
#B48EFE #FEEC8E #A0FE8E
monochromatic
#6315FD #8C51FD #B48EFE #DCCBFF #EBE1FF

Accessibility & contrast

On white

2.55
#B48EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#B48EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48EFE
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48EFE#FFFFFF#000000##000000
##B48EFE1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA2FF
Deuteranopia (green-blind)
#74A1FB
Tritanopia (blue-blind)
#A5A2BA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b48efe;
/* rgb */ color: rgb(180, 142, 254);
/* oklch */ color: oklch(72.8% 0.161 297.9);
Tailwind
colors: {
  custom: {
    50: '#cdafff',
    500: '#b48efe',
    950: '#000000',
  },
}
SCSS
$custom: #b48efe;
$custom-light: #cdafff;
$custom-dark: #000000;
JSON
{
  "hex": "#b48efe",
  "rgb": {
    "r": 180,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 260.357,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.72779,
    "c": 0.16109,
    "h": 297.9
  },
  "luminance": 0.36205
}

Semantic roles & 50–950 ramp

primary
#B48EFE
secondary
#EBF7D4
accent
#E60098
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B48EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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