#B49DF8#B49DF8

#B49DF8 is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.1% C 0.130 H 294.7°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#B49DF8
RGBrgb(180, 157, 248)
HSLhsl(255, 87%, 79%)
HSVhsv(255, 37%, 97%)
CMYKcmyk(27.4%, 36.7%, 0%, 2.7%)
CIE-LABlab(69.89, 27.45, -42.42)
CIE-LCHlch(69.89, 50.53, 302.91°)
OKLaboklab(75.12% 0.0543 -0.1182)
OKLCHoklch(75.12% 0.13 294.7)
XYZxyz(47.8185, 40.5939, 94.1048)
Luminance0.4059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49DF8 #E1F89D
analogous
#9DB4F8 #B49DF8 #E29DF8
triadic
#B49DF8 #F8B49D #9DF8B4
tetradic
#B49DF8 #F89DB4 #E1F89D #9DF8E2
square
#B49DF8 #F89DB4 #E1F89D #9DF8E2
split-complementary
#B49DF8 #F8E29D #B4F89D
monochromatic
#5D2BF0 #8864F4 #B49DF8 #E0D6FC #E9E2FD

Accessibility & contrast

On white

2.30
#B49DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#B49DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49DF8
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49DF8#FFFFFF#000000##000000
##B49DF81.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ACFC
Deuteranopia (green-blind)
#87A9F6
Tritanopia (blue-blind)
#A6ADBF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b49df8;
/* rgb */ color: rgb(180, 157, 248);
/* oklch */ color: oklch(75.1% 0.130 294.7);
Tailwind
colors: {
  custom: {
    50: '#ccbafb',
    500: '#b49df8',
    950: '#000000',
  },
}
SCSS
$custom: #b49df8;
$custom-light: #ccbafb;
$custom-dark: #000000;
JSON
{
  "hex": "#b49df8",
  "rgb": {
    "r": 180,
    "g": 157,
    "b": 248
  },
  "hsl": {
    "h": 255.165,
    "s": 86.667,
    "l": 79.412
  },
  "oklch": {
    "l": 0.75123,
    "c": 0.13009,
    "h": 294.7
  },
  "luminance": 0.40595
}

Semantic roles & 50–950 ramp

primary
#B49DF8
secondary
#EDF5D6
accent
#E302AA
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #B49DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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