#B79AFA#B79AFA

#B79AFA is a light, vivid violet. Relative luminance 0.401; OKLCH L 74.9% C 0.138 H 296.9°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#B79AFA
RGBrgb(183, 154, 250)
HSLhsl(258, 91%, 79%)
HSVhsv(258, 38%, 98%)
CMYKcmyk(26.8%, 38.4%, 0%, 2%)
CIE-LABlab(69.53, 30.45, -44.06)
CIE-LCHlch(69.53, 53.56, 304.65°)
OKLaboklab(74.94% 0.0622 -0.1229)
OKLCHoklch(74.94% 0.138 296.9)
XYZxyz(48.3353, 40.0801, 95.6137)
Luminance0.4008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79AFA #DDFA9A
analogous
#9AADFA #B79AFA #E79AFA
triadic
#B79AFA #FAB79A #9AFAB7
tetradic
#B79AFA #FA9AAD #DDFA9A #9AFAE7
square
#B79AFA #FA9AAD #DDFA9A #9AFAE7
split-complementary
#B79AFA #FAE79A #ADFA9A
monochromatic
#6425F4 #8D60F7 #B79AFA #E1D4FD #EAE2FE

Accessibility & contrast

On white

2.33
#B79AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#B79AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79AFA
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79AFA#FFFFFF#000000##000000
##B79AFA1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#80AAFE
Deuteranopia (green-blind)
#85A9F8
Tritanopia (blue-blind)
#A9ABBE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b79afa;
/* rgb */ color: rgb(183, 154, 250);
/* oklch */ color: oklch(74.9% 0.138 296.9);
Tailwind
colors: {
  custom: {
    50: '#ceb8fc',
    500: '#b79afa',
    950: '#000000',
  },
}
SCSS
$custom: #b79afa;
$custom-light: #ceb8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b79afa",
  "rgb": {
    "r": 183,
    "g": 154,
    "b": 250
  },
  "hsl": {
    "h": 258.125,
    "s": 90.566,
    "l": 79.216
  },
  "oklch": {
    "l": 0.74937,
    "c": 0.13773,
    "h": 296.9
  },
  "luminance": 0.40081
}

Semantic roles & 50–950 ramp

primary
#B79AFA
secondary
#ECF6D5
accent
#E600A0
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B79AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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