#B79DFB#B79DFB

#B79DFB is a light, vivid violet. Relative luminance 0.411; OKLCH L 75.5% C 0.134 H 295.7°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#B79DFB
RGBrgb(183, 157, 251)
HSLhsl(257, 92%, 80%)
HSVhsv(257, 37%, 98%)
CMYKcmyk(27.1%, 37.5%, 0%, 1.6%)
CIE-LABlab(70.28, 29.01, -43.43)
CIE-LCHlch(70.28, 52.23, 303.75°)
OKLaboklab(75.52% 0.0584 -0.121)
OKLCHoklch(75.52% 0.134 295.7)
XYZxyz(48.9938, 41.1457, 96.6088)
Luminance0.4115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79DFB #E1FB9D
analogous
#9DB2FB #B79DFB #E69DFB
triadic
#B79DFB #FBB79D #9DFBB7
tetradic
#B79DFB #FB9DB2 #E1FB9D #9DFBE6
square
#B79DFB #FB9DB2 #E1FB9D #9DFBE6
split-complementary
#B79DFB #FBE69D #B2FB9D
monochromatic
#6127F6 #8C62F9 #B79DFB #E2D8FD #E9E2FE

Accessibility & contrast

On white

2.28
#B79DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#B79DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79DFB
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79DFB#FFFFFF#000000##000000
##B79DFB1.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ACFF
Deuteranopia (green-blind)
#87ABF9
Tritanopia (blue-blind)
#A9ADC0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b79dfb;
/* rgb */ color: rgb(183, 157, 251);
/* oklch */ color: oklch(75.5% 0.134 295.7);
Tailwind
colors: {
  custom: {
    50: '#cebafd',
    500: '#b79dfb',
    950: '#000000',
  },
}
SCSS
$custom: #b79dfb;
$custom-light: #cebafd;
$custom-dark: #000000;
JSON
{
  "hex": "#b79dfb",
  "rgb": {
    "r": 183,
    "g": 157,
    "b": 251
  },
  "hsl": {
    "h": 256.596,
    "s": 92.157,
    "l": 80
  },
  "oklch": {
    "l": 0.75523,
    "c": 0.13438,
    "h": 295.7
  },
  "luminance": 0.41146
}

Semantic roles & 50–950 ramp

primary
#B79DFB
secondary
#EDF6D5
accent
#E600A6
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B79DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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