#B48EF3#B48EF3

#B48EF3 is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.2% C 0.147 H 300.1°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#B48EF3
RGBrgb(180, 142, 243)
HSLhsl(263, 81%, 75%)
HSVhsv(263, 42%, 95%)
CMYKcmyk(25.9%, 41.6%, 0%, 4.7%)
CIE-LABlab(66.15, 34.64, -45.55)
CIE-LCHlch(66.15, 57.23, 307.25°)
OKLaboklab(72.21% 0.0737 -0.1272)
OKLCHoklch(72.21% 0.147 300.1)
XYZxyz(44.6694, 35.5202, 89.2794)
Luminance0.3552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48EF3 #CDF38E
analogous
#8E9AF3 #B48EF3 #E68EF3
triadic
#B48EF3 #F3B48E #8EF3B4
tetradic
#B48EF3 #F38E9A #CDF38E #8EF3E6
square
#B48EF3 #F38E9A #CDF38E #8EF3E6
split-complementary
#B48EF3 #F3E68E #9AF38E
monochromatic
#6B1FE7 #8F57ED #B48EF3 #D9C5F9 #EDE3FC

Accessibility & contrast

On white

2.59
#B48EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#B48EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48EF3
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48EF3#FFFFFF#000000##000000
##B48EF31.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F7
Deuteranopia (green-blind)
#7AA0F0
Tritanopia (blue-blind)
#A89FB5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b48ef3;
/* rgb */ color: rgb(180, 142, 243);
/* oklch */ color: oklch(72.2% 0.147 300.1);
Tailwind
colors: {
  custom: {
    50: '#ccaff7',
    500: '#b48ef3',
    950: '#000000',
  },
}
SCSS
$custom: #b48ef3;
$custom-light: #ccaff7;
$custom-dark: #000000;
JSON
{
  "hex": "#b48ef3",
  "rgb": {
    "r": 180,
    "g": 142,
    "b": 243
  },
  "hsl": {
    "h": 262.574,
    "s": 80.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72213,
    "c": 0.14706,
    "h": 300.1
  },
  "luminance": 0.3552
}

Semantic roles & 50–950 ramp

primary
#B48EF3
secondary
#E9F4D7
accent
#DD088D
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B48EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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