#B79EF8#B79EF8

#B79EF8 is a light, vivid violet. Relative luminance 0.413; OKLCH L 75.6% C 0.129 H 295.9°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#B79EF8
RGBrgb(183, 158, 248)
HSLhsl(257, 87%, 80%)
HSVhsv(257, 36%, 97%)
CMYKcmyk(26.2%, 36.3%, 0%, 2.7%)
CIE-LABlab(70.38, 27.74, -41.63)
CIE-LCHlch(70.38, 50.03, 303.68°)
OKLaboklab(75.56% 0.0564 -0.1159)
OKLCHoklch(75.56% 0.129 295.9)
XYZxyz(48.6946, 41.2978, 94.1946)
Luminance0.4130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79EF8 #DFF89E
analogous
#9EB2F8 #B79EF8 #E49EF8
triadic
#B79EF8 #F8B79E #9EF8B7
tetradic
#B79EF8 #F89EB2 #DFF89E #9EF8E4
square
#B79EF8 #F89EB2 #DFF89E #9EF8E4
split-complementary
#B79EF8 #F8E49E #B2F89E
monochromatic
#622CF0 #8D65F4 #B79EF8 #E1D7FC #EAE2FD

Accessibility & contrast

On white

2.27
#B79EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#B79EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79EF8
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79EF8#FFFFFF#000000##000000
##B79EF81.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ADFC
Deuteranopia (green-blind)
#8AABF6
Tritanopia (blue-blind)
#AAADBF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b79ef8;
/* rgb */ color: rgb(183, 158, 248);
/* oklch */ color: oklch(75.6% 0.129 295.9);
Tailwind
colors: {
  custom: {
    50: '#cebafb',
    500: '#b79ef8',
    950: '#000000',
  },
}
SCSS
$custom: #b79ef8;
$custom-light: #cebafb;
$custom-dark: #000000;
JSON
{
  "hex": "#b79ef8",
  "rgb": {
    "r": 183,
    "g": 158,
    "b": 248
  },
  "hsl": {
    "h": 256.667,
    "s": 86.538,
    "l": 79.608
  },
  "oklch": {
    "l": 0.75561,
    "c": 0.12885,
    "h": 295.9
  },
  "luminance": 0.41298
}

Semantic roles & 50–950 ramp

primary
#B79EF8
secondary
#ECF5D6
accent
#E302A5
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B79EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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