#B48EF2#B48EF2

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

Color values

HEX#B48EF2
RGBrgb(180, 142, 242)
HSLhsl(263, 79%, 75%)
HSVhsv(263, 41%, 95%)
CMYKcmyk(25.6%, 41.3%, 0%, 5.1%)
CIE-LABlab(66.11, 34.40, -45.08)
CIE-LCHlch(66.11, 56.71, 307.35°)
OKLaboklab(72.16% 0.0736 -0.1259)
OKLCHoklch(72.16% 0.146 300.3)
XYZxyz(44.5188, 35.4599, 88.4862)
Luminance0.3546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48EF2 #CCF28E
analogous
#8E9AF2 #B48EF2 #E68EF2
triadic
#B48EF2 #F2B48E #8EF2B4
tetradic
#B48EF2 #F28E9A #CCF28E #8EF2E6
square
#B48EF2 #F28E9A #CCF28E #8EF2E6
split-complementary
#B48EF2 #F2E68E #9AF28E
monochromatic
#6B20E5 #9057EC #B48EF2 #D8C5F8 #EDE4FC

Accessibility & contrast

On white

2.60
#B48EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B48EF2#FFFFFF#000000##000000
##B48EF21.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#7BA0EF
Tritanopia (blue-blind)
#A89FB4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b48ef2;
/* rgb */ color: rgb(180, 142, 242);
/* oklch */ color: oklch(72.2% 0.146 300.3);
Tailwind
colors: {
  custom: {
    50: '#ccaff7',
    500: '#b48ef2',
    950: '#000000',
  },
}
SCSS
$custom: #b48ef2;
$custom-light: #ccaff7;
$custom-dark: #000000;
JSON
{
  "hex": "#b48ef2",
  "rgb": {
    "r": 180,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 262.8,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72162,
    "c": 0.14578,
    "h": 300.3
  },
  "luminance": 0.3546
}

Semantic roles & 50–950 ramp

primary
#B48EF2
secondary
#E9F4D7
accent
#DC0A8C
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#141017
muted
#827F85

Preview Lab

Preview with #B48EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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