#B48CFF#B48CFF

#B48CFF is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.5% C 0.165 H 298.2°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#B48CFF
RGBrgb(180, 140, 255)
HSLhsl(261, 100%, 77%)
HSVhsv(261, 45%, 100%)
CMYKcmyk(29.4%, 45.1%, 0%, 0%)
CIE-LABlab(66.27, 38.63, -51.93)
CIE-LCHlch(66.27, 64.72, 306.65°)
OKLaboklab(72.49% 0.0782 -0.1458)
OKLCHoklch(72.49% 0.165 298.2)
XYZxyz(46.2462, 35.6790, 99.0386)
Luminance0.3568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48CFF #D7FF8C
analogous
#8C9DFF #B48CFF #EE8CFF
triadic
#B48CFF #FFB48C #8CFFB4
tetradic
#B48CFF #FF8C9D #D7FF8C #8CFFEE
square
#B48CFF #FF8C9D #D7FF8C #8CFFEE
split-complementary
#B48CFF #FFEE8C #9DFF8C
monochromatic
#6412FF #8C4FFF #B48CFF #DCC9FF #EBE0FF

Accessibility & contrast

On white

2.58
#B48CFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#B48CFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48CFF
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48CFF#FFFFFF#000000##000000
##B48CFF1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#71A0FC
Tritanopia (blue-blind)
#A5A1B9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b48cff;
/* rgb */ color: rgb(180, 140, 255);
/* oklch */ color: oklch(72.5% 0.165 298.2);
Tailwind
colors: {
  custom: {
    50: '#cdaeff',
    500: '#b48cff',
    950: '#000000',
  },
}
SCSS
$custom: #b48cff;
$custom-light: #cdaeff;
$custom-dark: #000000;
JSON
{
  "hex": "#b48cff",
  "rgb": {
    "r": 180,
    "g": 140,
    "b": 255
  },
  "hsl": {
    "h": 260.87,
    "s": 100,
    "l": 77.451
  },
  "oklch": {
    "l": 0.72493,
    "c": 0.16544,
    "h": 298.2
  },
  "luminance": 0.35679
}

Semantic roles & 50–950 ramp

primary
#B48CFF
secondary
#EBF7D4
accent
#E60096
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B48CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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