#B48BF2#B48BF2

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

Color values

HEX#B48BF2
RGBrgb(180, 139, 242)
HSLhsl(264, 80%, 75%)
HSVhsv(264, 43%, 95%)
CMYKcmyk(25.6%, 42.6%, 0%, 5.1%)
CIE-LABlab(65.42, 36.07, -46.16)
CIE-LCHlch(65.42, 58.58, 308.01°)
OKLaboklab(71.65% 0.0776 -0.129)
OKLCHoklch(71.65% 0.151 301)
XYZxyz(44.0784, 34.5792, 88.3395)
Luminance0.3458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48BF2 #C9F28B
analogous
#8B96F2 #B48BF2 #E78BF2
triadic
#B48BF2 #F2B48B #8BF2B4
tetradic
#B48BF2 #F28B96 #C9F28B #8BF2E7
square
#B48BF2 #F28B96 #C9F28B #8BF2E7
split-complementary
#B48BF2 #F2E78B #96F28B
monochromatic
#6D1DE6 #9054EC #B48BF2 #D8C2F8 #EDE3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B48BF2#FFFFFF#000000##000000
##B48BF21.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)
#6F9EF6
Deuteranopia (green-blind)
#789EEF
Tritanopia (blue-blind)
#A99DB3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b48bf2;
/* rgb */ color: rgb(180, 139, 242);
/* oklch */ color: oklch(71.6% 0.151 301.0);
Tailwind
colors: {
  custom: {
    50: '#ccadf7',
    500: '#b48bf2',
    950: '#000000',
  },
}
SCSS
$custom: #b48bf2;
$custom-light: #ccadf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b48bf2",
  "rgb": {
    "r": 180,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 263.883,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71645,
    "c": 0.15054,
    "h": 301
  },
  "luminance": 0.34579
}

Semantic roles & 50–950 ramp

primary
#B48BF2
secondary
#E8F4D7
accent
#DC0988
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#141017
muted
#827F85

Preview Lab

Preview with #B48BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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