#B79AEB#B79AEB

#B79AEB is a light, moderate violet. Relative luminance 0.392; OKLCH L 74.2% C 0.118 H 300.0°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#B79AEB
RGBrgb(183, 154, 235)
HSLhsl(261, 67%, 76%)
HSVhsv(261, 34%, 92%)
CMYKcmyk(22.1%, 34.5%, 0%, 7.8%)
CIE-LABlab(68.88, 26.92, -36.88)
CIE-LCHlch(68.88, 45.66, 306.13°)
OKLaboklab(74.23% 0.059 -0.1022)
OKLCHoklch(74.23% 0.118 300)
XYZxyz(46.0761, 39.1765, 83.7155)
Luminance0.3918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79AEB #CEEB9A
analogous
#9AA6EB #B79AEB #DF9AEB
triadic
#B79AEB #EBB79A #9AEBB7
tetradic
#B79AEB #EB9AA6 #CEEB9A #9AEBDF
square
#B79AEB #EB9AA6 #CEEB9A #9AEBDF
split-complementary
#B79AEB #EBDF9A #A6EB9A
monochromatic
#6E34D7 #9367E1 #B79AEB #DBCDF5 #EDE5FA

Accessibility & contrast

On white

2.38
#B79AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#B79AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79AEB
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79AEB#FFFFFF#000000##000000
##B79AEB1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8EE
Deuteranopia (green-blind)
#8CA8E9
Tritanopia (blue-blind)
#AEA7B8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b79aeb;
/* rgb */ color: rgb(183, 154, 235);
/* oklch */ color: oklch(74.2% 0.118 300.0);
Tailwind
colors: {
  custom: {
    50: '#ceb8f1',
    500: '#b79aeb',
    950: '#000000',
  },
}
SCSS
$custom: #b79aeb;
$custom-light: #ceb8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b79aeb",
  "rgb": {
    "r": 183,
    "g": 154,
    "b": 235
  },
  "hsl": {
    "h": 261.481,
    "s": 66.942,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74232,
    "c": 0.11798,
    "h": 300
  },
  "luminance": 0.39177
}

Semantic roles & 50–950 ramp

primary
#B79AEB
secondary
#E9F1DA
accent
#CF178D
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B79AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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