#B48FF8#B48FF8

#B48FF8 is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.6% C 0.152 H 298.8°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#B48FF8
RGBrgb(180, 143, 248)
HSLhsl(261, 88%, 77%)
HSVhsv(261, 42%, 97%)
CMYKcmyk(27.4%, 42.3%, 0%, 2.7%)
CIE-LABlab(66.62, 35.28, -47.56)
CIE-LCHlch(66.62, 59.22, 306.56°)
OKLaboklab(72.64% 0.0732 -0.1331)
OKLCHoklch(72.64% 0.152 298.8)
XYZxyz(45.5842, 36.1252, 93.3600)
Luminance0.3613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48FF8 #D3F88F
analogous
#8F9FF8 #B48FF8 #E98FF8
triadic
#B48FF8 #F8B48F #8FF8B4
tetradic
#B48FF8 #F88F9F #D3F88F #8FF8E9
square
#B48FF8 #F88F9F #D3F88F #8FF8E9
split-complementary
#B48FF8 #F8E98F #9FF88F
monochromatic
#671CF1 #8D55F4 #B48FF8 #DBC9FC #ECE2FD

Accessibility & contrast

On white

2.55
#B48FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#B48FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48FF8
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48FF8#FFFFFF#000000##000000
##B48FF81.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FC
Deuteranopia (green-blind)
#79A1F5
Tritanopia (blue-blind)
#A7A1B8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b48ff8;
/* rgb */ color: rgb(180, 143, 248);
/* oklch */ color: oklch(72.6% 0.152 298.8);
Tailwind
colors: {
  custom: {
    50: '#ccb0fb',
    500: '#b48ff8',
    950: '#000000',
  },
}
SCSS
$custom: #b48ff8;
$custom-light: #ccb0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b48ff8",
  "rgb": {
    "r": 180,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 261.143,
    "s": 88.235,
    "l": 76.667
  },
  "oklch": {
    "l": 0.72639,
    "c": 0.15189,
    "h": 298.8
  },
  "luminance": 0.36126
}

Semantic roles & 50–950 ramp

primary
#B48FF8
secondary
#EAF5D6
accent
#E50194
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141017
muted
#827F85

Preview Lab

Preview with #B48FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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