#B79CEB#B79CEB

#B79CEB is a light, moderate violet. Relative luminance 0.398; OKLCH L 74.6% C 0.115 H 299.3°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#B79CEB
RGBrgb(183, 156, 235)
HSLhsl(261, 66%, 77%)
HSVhsv(261, 34%, 92%)
CMYKcmyk(22.1%, 33.6%, 0%, 7.8%)
CIE-LABlab(69.36, 25.81, -36.14)
CIE-LCHlch(69.36, 44.40, 305.53°)
OKLaboklab(74.6% 0.0562 -0.1)
OKLCHoklch(74.6% 0.115 299.3)
XYZxyz(46.4090, 39.8422, 83.8265)
Luminance0.3984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79CEB #D0EB9C
analogous
#9CA9EB #B79CEB #DF9CEB
triadic
#B79CEB #EBB79C #9CEBB7
tetradic
#B79CEB #EB9CA9 #D0EB9C #9CEBDF
square
#B79CEB #EB9CA9 #D0EB9C #9CEBDF
split-complementary
#B79CEB #EBDF9C #A9EB9C
monochromatic
#6D36D6 #9269E1 #B79CEB #DCCFF5 #ECE6FA

Accessibility & contrast

On white

2.34
#B79CEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#B79CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79CEB
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79CEB#FFFFFF#000000##000000
##B79CEB1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A9EE
Deuteranopia (green-blind)
#8EA9E9
Tritanopia (blue-blind)
#ADA9B9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b79ceb;
/* rgb */ color: rgb(183, 156, 235);
/* oklch */ color: oklch(74.6% 0.115 299.3);
Tailwind
colors: {
  custom: {
    50: '#ceb9f1',
    500: '#b79ceb',
    950: '#000000',
  },
}
SCSS
$custom: #b79ceb;
$custom-light: #ceb9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b79ceb",
  "rgb": {
    "r": 183,
    "g": 156,
    "b": 235
  },
  "hsl": {
    "h": 260.506,
    "s": 66.387,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74597,
    "c": 0.11475,
    "h": 299.3
  },
  "luminance": 0.39842
}

Semantic roles & 50–950 ramp

primary
#B79CEB
secondary
#E9F1DA
accent
#CE1790
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B79CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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