#A79BFB#A79BFB

#A79BFB is a light, vivid blue. Relative luminance 0.386; OKLCH L 73.8% C 0.137 H 288.3°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#A79BFB
RGBrgb(167, 155, 251)
HSLhsl(248, 92%, 80%)
HSVhsv(248, 38%, 98%)
CMYKcmyk(33.5%, 38.2%, 0%, 1.6%)
CIE-LABlab(68.48, 25.76, -46.35)
CIE-LCHlch(68.48, 53.03, 299.07°)
OKLaboklab(73.83% 0.043 -0.1298)
OKLCHoklch(73.83% 0.137 288.3)
XYZxyz(45.0656, 38.6221, 96.3285)
Luminance0.3862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79BFB #EFFB9B
analogous
#9BBFFB #A79BFB #D79BFB
triadic
#A79BFB #FBA79B #9BFBA7
tetradic
#A79BFB #FB9BBF #EFFB9B #9BFBD7
square
#A79BFB #FB9BBF #EFFB9B #9BFBD7
split-complementary
#A79BFB #FBD79B #BFFB9B
monochromatic
#3F25F6 #7360F9 #A79BFB #DBD6FD #E5E2FE

Accessibility & contrast

On white

2.41
#A79BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#A79BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79BFB
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79BFB#FFFFFF#000000##000000
##A79BFB1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FF
Deuteranopia (green-blind)
#7DA5F9
Tritanopia (blue-blind)
#92ADBF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a79bfb;
/* rgb */ color: rgb(167, 155, 251);
/* oklch */ color: oklch(73.8% 0.137 288.3);
Tailwind
colors: {
  custom: {
    50: '#c4b8fd',
    500: '#a79bfb',
    950: '#000000',
  },
}
SCSS
$custom: #a79bfb;
$custom-light: #c4b8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a79bfb",
  "rgb": {
    "r": 167,
    "g": 155,
    "b": 251
  },
  "hsl": {
    "h": 247.5,
    "s": 92.308,
    "l": 79.608
  },
  "oklch": {
    "l": 0.7383,
    "c": 0.13675,
    "h": 288.3
  },
  "luminance": 0.38623
}

Semantic roles & 50–950 ramp

primary
#A79BFB
secondary
#F2F6D5
accent
#E600C9
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A79BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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