#B48EF6#B48EF6

#B48EF6 is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.4% C 0.151 H 299.5°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#B48EF6
RGBrgb(180, 142, 246)
HSLhsl(262, 85%, 76%)
HSVhsv(262, 42%, 96%)
CMYKcmyk(26.8%, 42.3%, 0%, 3.5%)
CIE-LABlab(66.29, 35.35, -46.98)
CIE-LCHlch(66.29, 58.79, 306.96°)
OKLaboklab(72.36% 0.0742 -0.1314)
OKLCHoklch(72.36% 0.151 299.5)
XYZxyz(45.1261, 35.7029, 91.6848)
Luminance0.3570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48EF6 #D0F68E
analogous
#8E9CF6 #B48EF6 #E88EF6
triadic
#B48EF6 #F6B48E #8EF6B4
tetradic
#B48EF6 #F68E9C #D0F68E #8EF6E8
square
#B48EF6 #F68E9C #D0F68E #8EF6E8
split-complementary
#B48EF6 #F6E88E #9CF68E
monochromatic
#691DED #8E55F1 #B48EF6 #DAC7FB #ECE3FD

Accessibility & contrast

On white

2.58
#B48EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#B48EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48EF6
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48EF6#FFFFFF#000000##000000
##B48EF61.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A1FA
Deuteranopia (green-blind)
#79A0F3
Tritanopia (blue-blind)
#A7A0B6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b48ef6;
/* rgb */ color: rgb(180, 142, 246);
/* oklch */ color: oklch(72.4% 0.151 299.5);
Tailwind
colors: {
  custom: {
    50: '#ccaff9',
    500: '#b48ef6',
    950: '#000000',
  },
}
SCSS
$custom: #b48ef6;
$custom-light: #ccaff9;
$custom-dark: #000000;
JSON
{
  "hex": "#b48ef6",
  "rgb": {
    "r": 180,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 261.923,
    "s": 85.246,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72365,
    "c": 0.15089,
    "h": 299.5
  },
  "luminance": 0.35703
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B48EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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