#B48CF6#B48CF6

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

Color values

HEX#B48CF6
RGBrgb(180, 140, 246)
HSLhsl(263, 85%, 76%)
HSVhsv(263, 43%, 96%)
CMYKcmyk(26.8%, 43.1%, 0%, 3.5%)
CIE-LABlab(65.84, 36.47, -47.70)
CIE-LCHlch(65.84, 60.04, 307.40°)
OKLaboklab(72.02% 0.0769 -0.1335)
OKLCHoklch(72.02% 0.154 300)
XYZxyz(44.8312, 35.1131, 91.5865)
Luminance0.3511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48CF6 #CEF68C
analogous
#8C99F6 #B48CF6 #E98CF6
triadic
#B48CF6 #F6B48C #8CF6B4
tetradic
#B48CF6 #F68C99 #CEF68C #8CF6E9
square
#B48CF6 #F68C99 #CEF68C #8CF6E9
split-complementary
#B48CF6 #F6E98C #99F68C
monochromatic
#6A1AED #8F53F2 #B48CF6 #D9C5FA #ECE3FD

Accessibility & contrast

On white

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

On black

8.02
#B48CF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48CF6
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48CF6#FFFFFF#000000##000000
##B48CF61.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA0FA
Deuteranopia (green-blind)
#779FF3
Tritanopia (blue-blind)
#A79FB5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b48cf6;
/* rgb */ color: rgb(180, 140, 246);
/* oklch */ color: oklch(72.0% 0.154 300.0);
Tailwind
colors: {
  custom: {
    50: '#cdaef9',
    500: '#b48cf6',
    950: '#000000',
  },
}
SCSS
$custom: #b48cf6;
$custom-light: #cdaef9;
$custom-dark: #000000;
JSON
{
  "hex": "#b48cf6",
  "rgb": {
    "r": 180,
    "g": 140,
    "b": 246
  },
  "hsl": {
    "h": 262.642,
    "s": 85.484,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72021,
    "c": 0.15403,
    "h": 300
  },
  "luminance": 0.35113
}

Semantic roles & 50–950 ramp

primary
#B48CF6
secondary
#E9F5D6
accent
#E2048E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B48CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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