#B48CF2#B48CF2

#B48CF2 is a light, vivid violet. Relative luminance 0.349; OKLCH L 71.8% C 0.149 H 300.8°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#B48CF2
RGBrgb(180, 140, 242)
HSLhsl(264, 80%, 75%)
HSVhsv(264, 42%, 95%)
CMYKcmyk(25.6%, 42.1%, 0%, 5.1%)
CIE-LABlab(65.65, 35.52, -45.80)
CIE-LCHlch(65.65, 57.96, 307.79°)
OKLaboklab(71.82% 0.0763 -0.1279)
OKLCHoklch(71.82% 0.149 300.8)
XYZxyz(44.2239, 34.8701, 88.3879)
Luminance0.3487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48CF2 #CAF28C
analogous
#8C97F2 #B48CF2 #E78CF2
triadic
#B48CF2 #F2B48C #8CF2B4
tetradic
#B48CF2 #F28C97 #CAF28C #8CF2E7
square
#B48CF2 #F28C97 #CAF28C #8CF2E7
split-complementary
#B48CF2 #F2E78C #97F28C
monochromatic
#6C1EE6 #9055EC #B48CF2 #D8C3F8 #EDE4FC

Accessibility & contrast

On white

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

On black

7.97
#B48CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48CF2
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48CF2#FFFFFF#000000##000000
##B48CF21.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#799FEF
Tritanopia (blue-blind)
#A99DB3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b48cf2;
/* rgb */ color: rgb(180, 140, 242);
/* oklch */ color: oklch(71.8% 0.149 300.8);
Tailwind
colors: {
  custom: {
    50: '#ccaef7',
    500: '#b48cf2',
    950: '#000000',
  },
}
SCSS
$custom: #b48cf2;
$custom-light: #ccaef7;
$custom-dark: #000000;
JSON
{
  "hex": "#b48cf2",
  "rgb": {
    "r": 180,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 263.529,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71817,
    "c": 0.14895,
    "h": 300.8
  },
  "luminance": 0.3487
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B48CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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