#B48CF5#B48CF5

#B48CF5 is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.0% C 0.153 H 300.2°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#B48CF5
RGBrgb(180, 140, 245)
HSLhsl(263, 84%, 75%)
HSVhsv(263, 43%, 96%)
CMYKcmyk(26.5%, 42.9%, 0%, 3.9%)
CIE-LABlab(65.79, 36.23, -47.22)
CIE-LCHlch(65.79, 59.52, 307.49°)
OKLaboklab(71.97% 0.0768 -0.1321)
OKLCHoklch(71.97% 0.153 300.2)
XYZxyz(44.6781, 35.0518, 90.7804)
Luminance0.3505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48CF5 #CDF58C
analogous
#8C98F5 #B48CF5 #E88CF5
triadic
#B48CF5 #F5B48C #8CF5B4
tetradic
#B48CF5 #F58C98 #CDF58C #8CF5E8
square
#B48CF5 #F58C98 #CDF58C #8CF5E8
split-complementary
#B48CF5 #F5E88C #98F58C
monochromatic
#6B1BEB #8F54F0 #B48CF5 #D9C4FA #EDE3FD

Accessibility & contrast

On white

2.62
#B48CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#B48CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48CF5
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48CF5#FFFFFF#000000##000000
##B48CF51.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9FF9
Deuteranopia (green-blind)
#779FF2
Tritanopia (blue-blind)
#A89EB5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b48cf5;
/* rgb */ color: rgb(180, 140, 245);
/* oklch */ color: oklch(72.0% 0.153 300.2);
Tailwind
colors: {
  custom: {
    50: '#ccaef9',
    500: '#b48cf5',
    950: '#000000',
  },
}
SCSS
$custom: #b48cf5;
$custom-light: #ccaef9;
$custom-dark: #000000;
JSON
{
  "hex": "#b48cf5",
  "rgb": {
    "r": 180,
    "g": 140,
    "b": 245
  },
  "hsl": {
    "h": 262.857,
    "s": 84,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7197,
    "c": 0.15277,
    "h": 300.2
  },
  "luminance": 0.35052
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B48CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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