#B48EFF#B48EFF

#B48EFF is a light, vivid violet. Relative luminance 0.363; OKLCH L 72.8% C 0.162 H 297.7°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#B48EFF
RGBrgb(180, 142, 255)
HSLhsl(260, 100%, 78%)
HSVhsv(260, 44%, 100%)
CMYKcmyk(29.4%, 44.3%, 0%, 0%)
CIE-LABlab(66.72, 37.52, -51.22)
CIE-LCHlch(66.72, 63.49, 306.23°)
OKLaboklab(72.83% 0.0756 -0.1437)
OKLCHoklch(72.83% 0.162 297.7)
XYZxyz(46.5411, 36.2688, 99.1369)
Luminance0.3627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48EFF #D9FF8E
analogous
#8EA0FF #B48EFF #EC8EFF
triadic
#B48EFF #FFB48E #8EFFB4
tetradic
#B48EFF #FF8EA0 #D9FF8E #8EFFEC
square
#B48EFF #FF8EA0 #D9FF8E #8EFFEC
split-complementary
#B48EFF #FFEC8E #A0FF8E
monochromatic
#6314FF #8B51FF #B48EFF #DDCBFF #EBE0FF

Accessibility & contrast

On white

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

On black

8.25
#B48EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48EFF
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48EFF#FFFFFF#000000##000000
##B48EFF1.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA3FF
Deuteranopia (green-blind)
#73A1FC
Tritanopia (blue-blind)
#A4A2BA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b48eff;
/* rgb */ color: rgb(180, 142, 255);
/* oklch */ color: oklch(72.8% 0.162 297.7);
Tailwind
colors: {
  custom: {
    50: '#cdafff',
    500: '#b48eff',
    950: '#000000',
  },
}
SCSS
$custom: #b48eff;
$custom-light: #cdafff;
$custom-dark: #000000;
JSON
{
  "hex": "#b48eff",
  "rgb": {
    "r": 180,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 260.177,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.72832,
    "c": 0.16237,
    "h": 297.7
  },
  "luminance": 0.36269
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B48EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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