#B79DF5#B79DF5

#B79DF5 is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.2% C 0.126 H 296.8°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#B79DF5
RGBrgb(183, 157, 245)
HSLhsl(258, 81%, 79%)
HSVhsv(258, 36%, 96%)
CMYKcmyk(25.3%, 35.9%, 0%, 3.9%)
CIE-LABlab(70.02, 27.58, -40.57)
CIE-LCHlch(70.02, 49.06, 304.21°)
OKLaboklab(75.24% 0.0571 -0.1128)
OKLCHoklch(75.24% 0.126 296.8)
XYZxyz(48.0630, 40.7734, 91.7064)
Luminance0.4077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79DF5 #DBF59D
analogous
#9DAFF5 #B79DF5 #E39DF5
triadic
#B79DF5 #F5B79D #9DF5B7
tetradic
#B79DF5 #F59DAF #DBF59D #9DF5E3
square
#B79DF5 #F59DAF #DBF59D #9DF5E3
split-complementary
#B79DF5 #F5E39D #AFF59D
monochromatic
#652EEA #8E65EF #B79DF5 #E0D5FB #EBE3FC

Accessibility & contrast

On white

2.29
#B79DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#B79DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79DF5
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79DF5#FFFFFF#000000##000000
##B79DF51.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ACF8
Deuteranopia (green-blind)
#8AAAF3
Tritanopia (blue-blind)
#ABACBE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b79df5;
/* rgb */ color: rgb(183, 157, 245);
/* oklch */ color: oklch(75.2% 0.126 296.8);
Tailwind
colors: {
  custom: {
    50: '#cebaf9',
    500: '#b79df5',
    950: '#000000',
  },
}
SCSS
$custom: #b79df5;
$custom-light: #cebaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b79df5",
  "rgb": {
    "r": 183,
    "g": 157,
    "b": 245
  },
  "hsl": {
    "h": 257.727,
    "s": 81.481,
    "l": 78.824
  },
  "oklch": {
    "l": 0.75239,
    "c": 0.12642,
    "h": 296.8
  },
  "luminance": 0.40774
}

Semantic roles & 50–950 ramp

primary
#B79DF5
secondary
#EBF4D7
accent
#DE089F
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B79DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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