#B48DF7#B48DF7

#B48DF7 is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.2% C 0.154 H 299.5°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#B48DF7
RGBrgb(180, 141, 247)
HSLhsl(262, 87%, 76%)
HSVhsv(262, 43%, 97%)
CMYKcmyk(27.1%, 42.9%, 0%, 3.1%)
CIE-LABlab(66.11, 36.15, -47.81)
CIE-LCHlch(66.11, 59.94, 307.09°)
OKLaboklab(72.24% 0.0757 -0.1338)
OKLCHoklch(72.24% 0.154 299.5)
XYZxyz(45.1319, 35.4682, 92.4460)
Luminance0.3547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48DF7 #D0F78D
analogous
#8D9BF7 #B48DF7 #E98DF7
triadic
#B48DF7 #F7B48D #8DF7B4
tetradic
#B48DF7 #F78D9B #D0F78D #8DF7E9
square
#B48DF7 #F78D9B #D0F78D #8DF7E9
split-complementary
#B48DF7 #F7E98D #9BF78D
monochromatic
#691BEF #8E54F3 #B48DF7 #DAC6FB #ECE2FD

Accessibility & contrast

On white

2.59
#B48DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#B48DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48DF7
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48DF7#FFFFFF#000000##000000
##B48DF71.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA1FB
Deuteranopia (green-blind)
#77A0F4
Tritanopia (blue-blind)
#A7A0B6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b48df7;
/* rgb */ color: rgb(180, 141, 247);
/* oklch */ color: oklch(72.2% 0.154 299.5);
Tailwind
colors: {
  custom: {
    50: '#cdaffa',
    500: '#b48df7',
    950: '#000000',
  },
}
SCSS
$custom: #b48df7;
$custom-light: #cdaffa;
$custom-dark: #000000;
JSON
{
  "hex": "#b48df7",
  "rgb": {
    "r": 180,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 262.075,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72244,
    "c": 0.15374,
    "h": 299.5
  },
  "luminance": 0.35468
}

Semantic roles & 50–950 ramp

primary
#B48DF7
secondary
#EAF5D6
accent
#E30291
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B48DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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