#A79EF2#A79EF2

#A79EF2 is a light, moderate blue. Relative luminance 0.391; OKLCH L 74.0% C 0.120 H 288.0°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#A79EF2
RGBrgb(167, 158, 242)
HSLhsl(246, 76%, 78%)
HSVhsv(246, 35%, 95%)
CMYKcmyk(31%, 34.7%, 0%, 5.1%)
CIE-LABlab(68.81, 21.78, -40.92)
CIE-LCHlch(68.81, 46.35, 298.03°)
OKLaboklab(73.95% 0.0371 -0.1141)
OKLCHoklch(73.95% 0.12 288)
XYZxyz(44.1860, 39.0790, 89.2022)
Luminance0.3908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79EF2 #E9F29E
analogous
#9EBFF2 #A79EF2 #D19EF2
triadic
#A79EF2 #F2A79E #9EF2A7
tetradic
#A79EF2 #F29EBF #E9F29E #9EF2D1
square
#A79EF2 #F29EBF #E9F29E #9EF2D1
split-complementary
#A79EF2 #F2D19E #BFF29E
monochromatic
#4532E4 #7668EB #A79EF2 #D8D4F9 #E7E4FB

Accessibility & contrast

On white

2.38
#A79EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#A79EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79EF2
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79EF2#FFFFFF#000000##000000
##A79EF21.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AAF5
Deuteranopia (green-blind)
#85A6F0
Tritanopia (blue-blind)
#95ADBD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a79ef2;
/* rgb */ color: rgb(167, 158, 242);
/* oklch */ color: oklch(74.0% 0.120 288.0);
Tailwind
colors: {
  custom: {
    50: '#c3baf6',
    500: '#a79ef2',
    950: '#000000',
  },
}
SCSS
$custom: #a79ef2;
$custom-light: #c3baf6;
$custom-dark: #000000;
JSON
{
  "hex": "#a79ef2",
  "rgb": {
    "r": 167,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 246.429,
    "s": 76.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.73952,
    "c": 0.11999,
    "h": 288
  },
  "luminance": 0.3908
}

Semantic roles & 50–950 ramp

primary
#A79EF2
secondary
#F0F3D8
accent
#D90DC3
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #A79EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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