#B79AF7#B79AF7

#B79AF7 is a light, vivid violet. Relative luminance 0.399; OKLCH L 74.8% C 0.134 H 297.4°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#B79AF7
RGBrgb(183, 154, 247)
HSLhsl(259, 85%, 79%)
HSVhsv(259, 38%, 97%)
CMYKcmyk(25.9%, 37.7%, 0%, 3.1%)
CIE-LABlab(69.39, 29.73, -42.64)
CIE-LCHlch(69.39, 51.98, 304.89°)
OKLaboklab(74.79% 0.0616 -0.1187)
OKLCHoklch(74.79% 0.134 297.4)
XYZxyz(47.8686, 39.8935, 93.1559)
Luminance0.3989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79AF7 #DAF79A
analogous
#9AABF7 #B79AF7 #E59AF7
triadic
#B79AF7 #F7B79A #9AF7B7
tetradic
#B79AF7 #F79AAB #DAF79A #9AF7E5
square
#B79AF7 #F79AAB #DAF79A #9AF7E5
split-complementary
#B79AF7 #F7E59A #ABF79A
monochromatic
#6629EE #8F61F3 #B79AF7 #DFD3FB #EBE3FD

Accessibility & contrast

On white

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

On black

8.98
#B79AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79AF7
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79AF7#FFFFFF#000000##000000
##B79AF71.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#82AAFB
Deuteranopia (green-blind)
#86A8F5
Tritanopia (blue-blind)
#AAAABD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b79af7;
/* rgb */ color: rgb(183, 154, 247);
/* oklch */ color: oklch(74.8% 0.134 297.4);
Tailwind
colors: {
  custom: {
    50: '#ceb8fa',
    500: '#b79af7',
    950: '#000000',
  },
}
SCSS
$custom: #b79af7;
$custom-light: #ceb8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b79af7",
  "rgb": {
    "r": 183,
    "g": 154,
    "b": 247
  },
  "hsl": {
    "h": 258.71,
    "s": 85.321,
    "l": 78.627
  },
  "oklch": {
    "l": 0.74793,
    "c": 0.13379,
    "h": 297.4
  },
  "luminance": 0.39894
}

Semantic roles & 50–950 ramp

primary
#B79AF7
secondary
#EBF5D6
accent
#E2049D
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B79AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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