#B48FF2#B48FF2

#B48FF2 is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.3% C 0.144 H 300.0°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#B48FF2
RGBrgb(180, 143, 242)
HSLhsl(262, 79%, 75%)
HSVhsv(262, 41%, 95%)
CMYKcmyk(25.6%, 40.9%, 0%, 5.1%)
CIE-LABlab(66.34, 33.84, -44.72)
CIE-LCHlch(66.34, 56.08, 307.12°)
OKLaboklab(72.34% 0.0722 -0.1248)
OKLCHoklch(72.34% 0.144 300)
XYZxyz(44.6682, 35.7588, 88.5361)
Luminance0.3576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48FF2 #CDF28F
analogous
#8F9BF2 #B48FF2 #E58FF2
triadic
#B48FF2 #F2B48F #8FF2B4
tetradic
#B48FF2 #F28F9B #CDF28F #8FF2E5
square
#B48FF2 #F28F9B #CDF28F #8FF2E5
split-complementary
#B48FF2 #F2E58F #9BF28F
monochromatic
#6B21E5 #8F58EC #B48FF2 #D9C6F8 #EDE4FC

Accessibility & contrast

On white

2.58
#B48FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#B48FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48FF2
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48FF2#FFFFFF#000000##000000
##B48FF21.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A1F6
Deuteranopia (green-blind)
#7CA1EF
Tritanopia (blue-blind)
#A8A0B5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b48ff2;
/* rgb */ color: rgb(180, 143, 242);
/* oklch */ color: oklch(72.3% 0.144 300.0);
Tailwind
colors: {
  custom: {
    50: '#ccb0f7',
    500: '#b48ff2',
    950: '#000000',
  },
}
SCSS
$custom: #b48ff2;
$custom-light: #ccb0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b48ff2",
  "rgb": {
    "r": 180,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 262.424,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72336,
    "c": 0.14418,
    "h": 300
  },
  "luminance": 0.35759
}

Semantic roles & 50–950 ramp

primary
#B48FF2
secondary
#E9F4D7
accent
#DB0A8D
background
#FCFAFF
surface
#F9F5FE
border
#D2CFD6
text
#141017
muted
#827F85

Preview Lab

Preview with #B48FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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