#A79EFE#A79EFE

#A79EFE is a light, vivid blue. Relative luminance 0.398; OKLCH L 74.5% C 0.137 H 286.9°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#A79EFE
RGBrgb(167, 158, 254)
HSLhsl(246, 98%, 81%)
HSVhsv(246, 38%, 100%)
CMYKcmyk(34.3%, 37.8%, 0%, 0.4%)
CIE-LABlab(69.34, 24.84, -46.62)
CIE-LCHlch(69.34, 52.82, 298.05°)
OKLaboklab(74.54% 0.0397 -0.1306)
OKLCHoklch(74.54% 0.137 286.9)
XYZxyz(46.0478, 39.8237, 99.0073)
Luminance0.3982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79EFE #F5FE9E
analogous
#9EC5FE #A79EFE #D79EFE
triadic
#A79EFE #FEA79E #9EFEA7
tetradic
#A79EFE #FE9EC5 #F5FE9E #9EFED7
square
#A79EFE #FE9EC5 #F5FE9E #9EFED7
split-complementary
#A79EFE #FED79E #C5FE9E
monochromatic
#3925FD #7061FD #A79EFE #DEDBFF #E4E1FF

Accessibility & contrast

On white

2.34
#A79EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#A79EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79EFE
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79EFE#FFFFFF#000000##000000
##A79EFE1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ACFF
Deuteranopia (green-blind)
#7EA7FC
Tritanopia (blue-blind)
#91B0C2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a79efe;
/* rgb */ color: rgb(167, 158, 254);
/* oklch */ color: oklch(74.5% 0.137 286.9);
Tailwind
colors: {
  custom: {
    50: '#c4baff',
    500: '#a79efe',
    950: '#000000',
  },
}
SCSS
$custom: #a79efe;
$custom-light: #c4baff;
$custom-dark: #000000;
JSON
{
  "hex": "#a79efe",
  "rgb": {
    "r": 167,
    "g": 158,
    "b": 254
  },
  "hsl": {
    "h": 245.625,
    "s": 97.959,
    "l": 80.784
  },
  "oklch": {
    "l": 0.74537,
    "c": 0.1365,
    "h": 286.9
  },
  "luminance": 0.39825
}

Semantic roles & 50–950 ramp

primary
#A79EFE
secondary
#F4F7D4
accent
#E600D0
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #A79EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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