#B48EEE#B48EEE

#B48EEE is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.0% C 0.141 H 301.2°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#B48EEE
RGBrgb(180, 142, 238)
HSLhsl(264, 74%, 75%)
HSVhsv(264, 40%, 93%)
CMYKcmyk(24.4%, 40.3%, 0%, 6.7%)
CIE-LABlab(65.92, 33.46, -43.17)
CIE-LCHlch(65.92, 54.62, 307.78°)
OKLaboklab(71.96% 0.0728 -0.1203)
OKLCHoklch(71.96% 0.141 301.2)
XYZxyz(43.9246, 35.2222, 85.3568)
Luminance0.3522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48EEE #C8EE8E
analogous
#8E98EE #B48EEE #E48EEE
triadic
#B48EEE #EEB48E #8EEEB4
tetradic
#B48EEE #EE8E98 #C8EE8E #8EEEE4
square
#B48EEE #EE8E98 #C8EE8E #8EEEE4
split-complementary
#B48EEE #EEE48E #98EE8E
monochromatic
#6D24DE #9159E6 #B48EEE #D7C3F6 #EDE4FB

Accessibility & contrast

On white

2.61
#B48EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#B48EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48EEE
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48EEE#FFFFFF#000000##000000
##B48EEE1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F2
Deuteranopia (green-blind)
#7DA0EB
Tritanopia (blue-blind)
#AA9EB3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b48eee;
/* rgb */ color: rgb(180, 142, 238);
/* oklch */ color: oklch(72.0% 0.141 301.2);
Tailwind
colors: {
  custom: {
    50: '#ccaff4',
    500: '#b48eee',
    950: '#000000',
  },
}
SCSS
$custom: #b48eee;
$custom-light: #ccaff4;
$custom-dark: #000000;
JSON
{
  "hex": "#b48eee",
  "rgb": {
    "r": 180,
    "g": 142,
    "b": 238
  },
  "hsl": {
    "h": 263.75,
    "s": 73.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71963,
    "c": 0.14066,
    "h": 301.2
  },
  "luminance": 0.35222
}

Semantic roles & 50–950 ramp

primary
#B48EEE
secondary
#E8F3D8
accent
#D61087
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B48EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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