#A79AFE#A79AFE

#A79AFE is a light, vivid blue. Relative luminance 0.385; OKLCH L 73.8% C 0.142 H 288.4°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#A79AFE
RGBrgb(167, 154, 254)
HSLhsl(248, 98%, 80%)
HSVhsv(248, 39%, 100%)
CMYKcmyk(34.3%, 39.4%, 0%, 0.4%)
CIE-LABlab(68.37, 27.10, -48.14)
CIE-LCHlch(68.37, 55.25, 299.38°)
OKLaboklab(73.8% 0.0448 -0.135)
OKLCHoklch(73.8% 0.142 288.4)
XYZxyz(45.3766, 38.4812, 98.7836)
Luminance0.3848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79AFE #F1FE9A
analogous
#9ABFFE #A79AFE #D99AFE
triadic
#A79AFE #FEA79A #9AFEA7
tetradic
#A79AFE #FE9ABF #F1FE9A #9AFED9
square
#A79AFE #FE9ABF #F1FE9A #9AFED9
split-complementary
#A79AFE #FED99A #BFFE9A
monochromatic
#3D21FD #725DFD #A79AFE #DCD7FF #E5E1FF

Accessibility & contrast

On white

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

On black

8.70
#A79AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79AFE
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79AFE#FFFFFF#000000##000000
##A79AFE1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#7AA4FC
Tritanopia (blue-blind)
#91ADC0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a79afe;
/* rgb */ color: rgb(167, 154, 254);
/* oklch */ color: oklch(73.8% 0.142 288.4);
Tailwind
colors: {
  custom: {
    50: '#c4b7ff',
    500: '#a79afe',
    950: '#000000',
  },
}
SCSS
$custom: #a79afe;
$custom-light: #c4b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a79afe",
  "rgb": {
    "r": 167,
    "g": 154,
    "b": 254
  },
  "hsl": {
    "h": 247.8,
    "s": 98.039,
    "l": 80
  },
  "oklch": {
    "l": 0.73797,
    "c": 0.1423,
    "h": 288.4
  },
  "luminance": 0.38482
}

Semantic roles & 50–950 ramp

primary
#A79AFE
secondary
#F2F7D4
accent
#E600C8
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #A79AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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