#B48DF2#B48DF2

#B48DF2 is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.0% C 0.147 H 300.6°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#B48DF2
RGBrgb(180, 141, 242)
HSLhsl(263, 80%, 75%)
HSVhsv(263, 42%, 95%)
CMYKcmyk(25.6%, 41.7%, 0%, 5.1%)
CIE-LABlab(65.88, 34.96, -45.44)
CIE-LCHlch(65.88, 57.33, 307.57°)
OKLaboklab(71.99% 0.0749 -0.1269)
OKLCHoklch(71.99% 0.147 300.6)
XYZxyz(44.3707, 35.1637, 88.4369)
Luminance0.3516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48DF2 #CBF28D
analogous
#8D99F2 #B48DF2 #E68DF2
triadic
#B48DF2 #F2B48D #8DF2B4
tetradic
#B48DF2 #F28D99 #CBF28D #8DF2E6
square
#B48DF2 #F28D99 #CBF28D #8DF2E6
split-complementary
#B48DF2 #F2E68D #99F28D
monochromatic
#6C1FE5 #9056EC #B48DF2 #D8C4F8 #EDE4FC

Accessibility & contrast

On white

2.61
#B48DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#B48DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48DF2
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48DF2#FFFFFF#000000##000000
##B48DF21.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#7A9FEF
Tritanopia (blue-blind)
#A89EB4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b48df2;
/* rgb */ color: rgb(180, 141, 242);
/* oklch */ color: oklch(72.0% 0.147 300.6);
Tailwind
colors: {
  custom: {
    50: '#ccaff7',
    500: '#b48df2',
    950: '#000000',
  },
}
SCSS
$custom: #b48df2;
$custom-light: #ccaff7;
$custom-dark: #000000;
JSON
{
  "hex": "#b48df2",
  "rgb": {
    "r": 180,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 263.168,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71989,
    "c": 0.14737,
    "h": 300.6
  },
  "luminance": 0.35164
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B48DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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