#B48FF7#B48FF7

#B48FF7 is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.6% C 0.151 H 299.0°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B48FF7
RGBrgb(180, 143, 247)
HSLhsl(261, 87%, 76%)
HSVhsv(261, 42%, 97%)
CMYKcmyk(27.1%, 42.1%, 0%, 3.1%)
CIE-LABlab(66.57, 35.04, -47.09)
CIE-LCHlch(66.57, 58.69, 306.65°)
OKLaboklab(72.59% 0.0731 -0.1317)
OKLCHoklch(72.59% 0.151 299)
XYZxyz(45.4295, 36.0633, 92.5452)
Luminance0.3606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48FF7 #D2F78F
analogous
#8F9EF7 #B48FF7 #E88FF7
triadic
#B48FF7 #F7B48F #8FF7B4
tetradic
#B48FF7 #F78F9E #D2F78F #8FF7E8
square
#B48FF7 #F78F9E #D2F78F #8FF7E8
split-complementary
#B48FF7 #F7E88F #9EF78F
monochromatic
#681DEF #8E56F3 #B48FF7 #DAC8FB #ECE2FD

Accessibility & contrast

On white

2.56
#B48FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#B48FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48FF7
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48FF7#FFFFFF#000000##000000
##B48FF71.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A2FB
Deuteranopia (green-blind)
#79A1F4
Tritanopia (blue-blind)
#A7A1B7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b48ff7;
/* rgb */ color: rgb(180, 143, 247);
/* oklch */ color: oklch(72.6% 0.151 299.0);
Tailwind
colors: {
  custom: {
    50: '#ccb0fa',
    500: '#b48ff7',
    950: '#000000',
  },
}
SCSS
$custom: #b48ff7;
$custom-light: #ccb0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b48ff7",
  "rgb": {
    "r": 180,
    "g": 143,
    "b": 247
  },
  "hsl": {
    "h": 261.346,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72588,
    "c": 0.1506,
    "h": 299
  },
  "luminance": 0.36064
}

Semantic roles & 50–950 ramp

primary
#B48FF7
secondary
#EAF5D6
accent
#E30293
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141017
muted
#827F85

Preview Lab

Preview with #B48FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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