#A79EFB#A79EFB

#A79EFB is a light, vivid blue. Relative luminance 0.396; OKLCH L 74.4% C 0.132 H 287.2°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#A79EFB
RGBrgb(167, 158, 251)
HSLhsl(246, 92%, 80%)
HSVhsv(246, 37%, 98%)
CMYKcmyk(33.5%, 37.1%, 0%, 1.6%)
CIE-LABlab(69.21, 24.07, -45.20)
CIE-LCHlch(69.21, 51.21, 298.03°)
OKLaboklab(74.39% 0.039 -0.1265)
OKLCHoklch(74.39% 0.132 287.2)
XYZxyz(45.5711, 39.6330, 96.4970)
Luminance0.3963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79EFB #F2FB9E
analogous
#9EC4FB #A79EFB #D59EFB
triadic
#A79EFB #FBA79E #9EFBA7
tetradic
#A79EFB #FB9EC4 #F2FB9E #9EFBD5
square
#A79EFB #FB9EC4 #F2FB9E #9EFBD5
split-complementary
#A79EFB #FBD59E #C4FB9E
monochromatic
#3C28F6 #7263F9 #A79EFB #DCD9FD #E4E2FE

Accessibility & contrast

On white

2.35
#A79EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#A79EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79EFB
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79EFB#FFFFFF#000000##000000
##A79EFB1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ABFF
Deuteranopia (green-blind)
#80A7F9
Tritanopia (blue-blind)
#92AFC1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a79efb;
/* rgb */ color: rgb(167, 158, 251);
/* oklch */ color: oklch(74.4% 0.132 287.2);
Tailwind
colors: {
  custom: {
    50: '#c3bafd',
    500: '#a79efb',
    950: '#000000',
  },
}
SCSS
$custom: #a79efb;
$custom-light: #c3bafd;
$custom-dark: #000000;
JSON
{
  "hex": "#a79efb",
  "rgb": {
    "r": 167,
    "g": 158,
    "b": 251
  },
  "hsl": {
    "h": 245.806,
    "s": 92.079,
    "l": 80.196
  },
  "oklch": {
    "l": 0.74388,
    "c": 0.13239,
    "h": 287.2
  },
  "luminance": 0.39634
}

Semantic roles & 50–950 ramp

primary
#A79EFB
secondary
#F3F6D5
accent
#E600CF
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A79EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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