#B48CF3#B48CF3

#B48CF3 is a light, vivid violet. Relative luminance 0.349; OKLCH L 71.9% C 0.150 H 300.6°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#B48CF3
RGBrgb(180, 140, 243)
HSLhsl(263, 81%, 75%)
HSVhsv(263, 42%, 95%)
CMYKcmyk(25.9%, 42.4%, 0%, 4.7%)
CIE-LABlab(65.69, 35.75, -46.27)
CIE-LCHlch(65.69, 58.48, 307.69°)
OKLaboklab(71.87% 0.0764 -0.1293)
OKLCHoklch(71.87% 0.15 300.6)
XYZxyz(44.3745, 34.9304, 89.1811)
Luminance0.3493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48CF3 #CBF38C
analogous
#8C97F3 #B48CF3 #E78CF3
triadic
#B48CF3 #F3B48C #8CF3B4
tetradic
#B48CF3 #F38C97 #CBF38C #8CF3E7
square
#B48CF3 #F38C97 #CBF38C #8CF3E7
split-complementary
#B48CF3 #F3E78C #97F38C
monochromatic
#6C1DE7 #9055ED #B48CF3 #D8C3F9 #EDE3FC

Accessibility & contrast

On white

2.63
#B48CF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#B48CF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48CF3
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48CF3#FFFFFF#000000##000000
##B48CF31.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF7
Deuteranopia (green-blind)
#789FF0
Tritanopia (blue-blind)
#A89EB4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b48cf3;
/* rgb */ color: rgb(180, 140, 243);
/* oklch */ color: oklch(71.9% 0.150 300.6);
Tailwind
colors: {
  custom: {
    50: '#ccaef7',
    500: '#b48cf3',
    950: '#000000',
  },
}
SCSS
$custom: #b48cf3;
$custom-light: #ccaef7;
$custom-dark: #000000;
JSON
{
  "hex": "#b48cf3",
  "rgb": {
    "r": 180,
    "g": 140,
    "b": 243
  },
  "hsl": {
    "h": 263.301,
    "s": 81.102,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71868,
    "c": 0.15022,
    "h": 300.6
  },
  "luminance": 0.34931
}

Semantic roles & 50–950 ramp

primary
#B48CF3
secondary
#E9F4D7
accent
#DD088B
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B48CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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