#B48AF7#B48AF7

#B48AF7 is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.7% C 0.158 H 300.2°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#B48AF7
RGBrgb(180, 138, 247)
HSLhsl(263, 87%, 75%)
HSVhsv(263, 44%, 97%)
CMYKcmyk(27.1%, 44.1%, 0%, 3.1%)
CIE-LABlab(65.43, 37.81, -48.88)
CIE-LCHlch(65.43, 61.80, 307.73°)
OKLaboklab(71.73% 0.0798 -0.1369)
OKLCHoklch(71.73% 0.158 300.2)
XYZxyz(44.6955, 34.5954, 92.3005)
Luminance0.3460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48AF7 #CDF78A
analogous
#8A96F7 #B48AF7 #EA8AF7
triadic
#B48AF7 #F7B48A #8AF7B4
tetradic
#B48AF7 #F78A96 #CDF78A #8AF7EA
square
#B48AF7 #F78A96 #CDF78A #8AF7EA
split-complementary
#B48AF7 #F7EA8A #96F78A
monochromatic
#6B17EF #8F51F3 #B48AF7 #D9C3FB #EDE2FD

Accessibility & contrast

On white

2.65
#B48AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#B48AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48AF7
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48AF7#FFFFFF#000000##000000
##B48AF71.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFB
Deuteranopia (green-blind)
#749EF4
Tritanopia (blue-blind)
#A79DB5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b48af7;
/* rgb */ color: rgb(180, 138, 247);
/* oklch */ color: oklch(71.7% 0.158 300.2);
Tailwind
colors: {
  custom: {
    50: '#cdadfa',
    500: '#b48af7',
    950: '#000000',
  },
}
SCSS
$custom: #b48af7;
$custom-light: #cdadfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b48af7",
  "rgb": {
    "r": 180,
    "g": 138,
    "b": 247
  },
  "hsl": {
    "h": 263.119,
    "s": 87.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71733,
    "c": 0.15844,
    "h": 300.2
  },
  "luminance": 0.34596
}

Semantic roles & 50–950 ramp

primary
#B48AF7
secondary
#E9F5D6
accent
#E4028D
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B48AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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