#B79AFE#B79AFE

#B79AFE is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.1% C 0.143 H 296.1°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#B79AFE
RGBrgb(183, 154, 254)
HSLhsl(257, 98%, 80%)
HSVhsv(257, 39%, 100%)
CMYKcmyk(28%, 39.4%, 0%, 0.4%)
CIE-LABlab(69.71, 31.41, -45.95)
CIE-LCHlch(69.71, 55.66, 304.35°)
OKLaboklab(75.13% 0.063 -0.1284)
OKLCHoklch(75.13% 0.143 296.1)
XYZxyz(48.9691, 40.3337, 98.9520)
Luminance0.4033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79AFE #E1FE9A
analogous
#9AAFFE #B79AFE #E99AFE
triadic
#B79AFE #FEB79A #9AFEB7
tetradic
#B79AFE #FE9AAF #E1FE9A #9AFEE9
square
#B79AFE #FE9AAF #E1FE9A #9AFEE9
split-complementary
#B79AFE #FEE99A #AFFE9A
monochromatic
#6121FD #8C5DFD #B79AFE #E2D7FF #E9E1FF

Accessibility & contrast

On white

2.32
#B79AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#B79AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79AFE
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79AFE#FFFFFF#000000##000000
##B79AFE1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EABFF
Deuteranopia (green-blind)
#83A9FB
Tritanopia (blue-blind)
#A8ACC0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b79afe;
/* rgb */ color: rgb(183, 154, 254);
/* oklch */ color: oklch(75.1% 0.143 296.1);
Tailwind
colors: {
  custom: {
    50: '#ceb8ff',
    500: '#b79afe',
    950: '#000000',
  },
}
SCSS
$custom: #b79afe;
$custom-light: #ceb8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b79afe",
  "rgb": {
    "r": 183,
    "g": 154,
    "b": 254
  },
  "hsl": {
    "h": 257.4,
    "s": 98.039,
    "l": 80
  },
  "oklch": {
    "l": 0.75133,
    "c": 0.14298,
    "h": 296.1
  },
  "luminance": 0.40334
}

Semantic roles & 50–950 ramp

primary
#B79AFE
secondary
#EDF7D4
accent
#E600A3
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B79AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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