#B48CFA#B48CFA

#B48CFA is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.2% C 0.159 H 299.2°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#B48CFA
RGBrgb(180, 140, 250)
HSLhsl(262, 92%, 76%)
HSVhsv(262, 44%, 98%)
CMYKcmyk(28%, 44%, 0%, 2%)
CIE-LABlab(66.03, 37.42, -49.58)
CIE-LCHlch(66.03, 62.12, 307.04°)
OKLaboklab(72.23% 0.0775 -0.1389)
OKLCHoklch(72.23% 0.159 299.2)
XYZxyz(45.4518, 35.3613, 94.8548)
Luminance0.3536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48CFA #D2FA8C
analogous
#8C9BFA #B48CFA #EB8CFA
triadic
#B48CFA #FAB48C #8CFAB4
tetradic
#B48CFA #FA8C9B #D2FA8C #8CFAEB
square
#B48CFA #FA8C9B #D2FA8C #8CFAEB
split-complementary
#B48CFA #FAEB8C #9BFA8C
monochromatic
#6817F5 #8E51F7 #B48CFA #DAC7FD #ECE2FE

Accessibility & contrast

On white

2.60
#B48CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#B48CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48CFA
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48CFA#FFFFFF#000000##000000
##B48CFA1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA0FE
Deuteranopia (green-blind)
#74A0F7
Tritanopia (blue-blind)
#A6A0B7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b48cfa;
/* rgb */ color: rgb(180, 140, 250);
/* oklch */ color: oklch(72.2% 0.159 299.2);
Tailwind
colors: {
  custom: {
    50: '#cdaefc',
    500: '#b48cfa',
    950: '#000000',
  },
}
SCSS
$custom: #b48cfa;
$custom-light: #cdaefc;
$custom-dark: #000000;
JSON
{
  "hex": "#b48cfa",
  "rgb": {
    "r": 180,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 261.818,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72229,
    "c": 0.1591,
    "h": 299.2
  },
  "luminance": 0.35362
}

Semantic roles & 50–950 ramp

primary
#B48CFA
secondary
#EAF6D5
accent
#E60092
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B48CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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