#B48FFC#B48FFC

#B48FFC is a light, vivid violet. Relative luminance 0.364; OKLCH L 72.8% C 0.157 H 298.1°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#B48FFC
RGBrgb(180, 143, 252)
HSLhsl(260, 95%, 77%)
HSVhsv(260, 43%, 99%)
CMYKcmyk(28.6%, 43.3%, 0%, 1.2%)
CIE-LABlab(66.81, 36.24, -49.45)
CIE-LCHlch(66.81, 61.31, 306.24°)
OKLaboklab(72.85% 0.0738 -0.1386)
OKLCHoklch(72.85% 0.157 298.1)
XYZxyz(46.2114, 36.3761, 96.6633)
Luminance0.3638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48FFC #D7FC8F
analogous
#8FA0FC #B48FFC #EB8FFC
triadic
#B48FFC #FCB48F #8FFCB4
tetradic
#B48FFC #FC8FA0 #D7FC8F #8FFCEB
square
#B48FFC #FC8FA0 #D7FC8F #8FFCEB
split-complementary
#B48FFC #FCEB8F #A0FC8F
monochromatic
#6418F9 #8C53FA #B48FFC #DCCBFE #EBE1FE

Accessibility & contrast

On white

2.54
#B48FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#B48FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48FFC
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48FFC#FFFFFF#000000##000000
##B48FFC1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#76A1F9
Tritanopia (blue-blind)
#A5A2B9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b48ffc;
/* rgb */ color: rgb(180, 143, 252);
/* oklch */ color: oklch(72.8% 0.157 298.1);
Tailwind
colors: {
  custom: {
    50: '#cdb0fe',
    500: '#b48ffc',
    950: '#000000',
  },
}
SCSS
$custom: #b48ffc;
$custom-light: #cdb0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b48ffc",
  "rgb": {
    "r": 180,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 260.367,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.72846,
    "c": 0.15701,
    "h": 298.1
  },
  "luminance": 0.36376
}

Semantic roles & 50–950 ramp

primary
#B48FFC
secondary
#EBF6D5
accent
#E60098
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141018
muted
#827F86

Preview Lab

Preview with #B48FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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