#B49CEF#B49CEF

#B49CEF is a light, moderate violet. Relative luminance 0.397; OKLCH L 74.5% C 0.120 H 296.7°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#B49CEF
RGBrgb(180, 156, 239)
HSLhsl(257, 72%, 77%)
HSVhsv(257, 35%, 94%)
CMYKcmyk(24.7%, 34.7%, 0%, 6.3%)
CIE-LABlab(69.26, 25.86, -38.49)
CIE-LCHlch(69.26, 46.37, 303.90°)
OKLaboklab(74.52% 0.0537 -0.1069)
OKLCHoklch(74.52% 0.12 296.7)
XYZxyz(46.2872, 39.7118, 86.8712)
Luminance0.3971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49CEF #D7EF9C
analogous
#9CAEEF #B49CEF #DD9CEF
triadic
#B49CEF #EFB49C #9CEFB4
tetradic
#B49CEF #EF9CAE #D7EF9C #9CEFDD
square
#B49CEF #EF9CAE #D7EF9C #9CEFDD
split-complementary
#B49CEF #EFDD9C #AEEF9C
monochromatic
#6433DE #8C67E6 #B49CEF #DCD1F8 #EBE5FB

Accessibility & contrast

On white

2.35
#B49CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#B49CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49CEF
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49CEF#FFFFFF#000000##000000
##B49CEF1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A9F2
Deuteranopia (green-blind)
#8BA8ED
Tritanopia (blue-blind)
#A8AABB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b49cef;
/* rgb */ color: rgb(180, 156, 239);
/* oklch */ color: oklch(74.5% 0.120 296.7);
Tailwind
colors: {
  custom: {
    50: '#ccb9f4',
    500: '#b49cef',
    950: '#000000',
  },
}
SCSS
$custom: #b49cef;
$custom-light: #ccb9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b49cef",
  "rgb": {
    "r": 180,
    "g": 156,
    "b": 239
  },
  "hsl": {
    "h": 257.349,
    "s": 72.174,
    "l": 77.451
  },
  "oklch": {
    "l": 0.74518,
    "c": 0.11962,
    "h": 296.7
  },
  "luminance": 0.39712
}

Semantic roles & 50–950 ramp

primary
#B49CEF
secondary
#EBF2D9
accent
#D4119C
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B49CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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