#B48EF7#B48EF7

#B48EF7 is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.4% C 0.152 H 299.3°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#B48EF7
RGBrgb(180, 142, 247)
HSLhsl(262, 87%, 76%)
HSVhsv(262, 43%, 97%)
CMYKcmyk(27.1%, 42.5%, 0%, 3.1%)
CIE-LABlab(66.34, 35.59, -47.45)
CIE-LCHlch(66.34, 59.32, 306.87°)
OKLaboklab(72.42% 0.0744 -0.1327)
OKLCHoklch(72.42% 0.152 299.3)
XYZxyz(45.2800, 35.7644, 92.4954)
Luminance0.3577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48EF7 #D1F78E
analogous
#8E9DF7 #B48EF7 #E98EF7
triadic
#B48EF7 #F7B48E #8EF7B4
tetradic
#B48EF7 #F78E9D #D1F78E #8EF7E9
square
#B48EF7 #F78E9D #D1F78E #8EF7E9
split-complementary
#B48EF7 #F7E98E #9DF78E
monochromatic
#681CEF #8E55F3 #B48EF7 #DAC7FB #ECE2FD

Accessibility & contrast

On white

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

On black

8.15
#B48EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48EF7
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48EF7#FFFFFF#000000##000000
##B48EF71.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A1FB
Deuteranopia (green-blind)
#78A0F4
Tritanopia (blue-blind)
#A7A0B7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b48ef7;
/* rgb */ color: rgb(180, 142, 247);
/* oklch */ color: oklch(72.4% 0.152 299.3);
Tailwind
colors: {
  custom: {
    50: '#ccaffa',
    500: '#b48ef7',
    950: '#000000',
  },
}
SCSS
$custom: #b48ef7;
$custom-light: #ccaffa;
$custom-dark: #000000;
JSON
{
  "hex": "#b48ef7",
  "rgb": {
    "r": 180,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 261.714,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72416,
    "c": 0.15217,
    "h": 299.3
  },
  "luminance": 0.35765
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B48EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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