#A79FF2#A79FF2

#A79FF2 is a light, moderate blue. Relative luminance 0.394; OKLCH L 74.1% C 0.119 H 287.6°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#A79FF2
RGBrgb(167, 159, 242)
HSLhsl(246, 76%, 79%)
HSVhsv(246, 34%, 95%)
CMYKcmyk(31%, 34.3%, 0%, 5.1%)
CIE-LABlab(69.06, 21.22, -40.53)
CIE-LCHlch(69.06, 45.75, 297.63°)
OKLaboklab(74.14% 0.0357 -0.113)
OKLCHoklch(74.14% 0.119 287.6)
XYZxyz(44.3573, 39.4215, 89.2593)
Luminance0.3942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79FF2 #EAF29F
analogous
#9FC0F2 #A79FF2 #D09FF2
triadic
#A79FF2 #F2A79F #9FF2A7
tetradic
#A79FF2 #F29FC0 #EAF29F #9FF2D0
square
#A79FF2 #F29FC0 #EAF29F #9FF2D0
split-complementary
#A79FF2 #F2D09F #C0F29F
monochromatic
#4433E3 #7669EB #A79FF2 #D8D5F9 #E6E4FB

Accessibility & contrast

On white

2.36
#A79FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#A79FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79FF2
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79FF2#FFFFFF#000000##000000
##A79FF21.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ABF5
Deuteranopia (green-blind)
#86A6F0
Tritanopia (blue-blind)
#95AEBD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a79ff2;
/* rgb */ color: rgb(167, 159, 242);
/* oklch */ color: oklch(74.1% 0.119 287.6);
Tailwind
colors: {
  custom: {
    50: '#c3bbf6',
    500: '#a79ff2',
    950: '#000000',
  },
}
SCSS
$custom: #a79ff2;
$custom-light: #c3bbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#a79ff2",
  "rgb": {
    "r": 167,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 245.783,
    "s": 76.147,
    "l": 78.627
  },
  "oklch": {
    "l": 0.74141,
    "c": 0.11852,
    "h": 287.6
  },
  "luminance": 0.39423
}

Semantic roles & 50–950 ramp

primary
#A79FF2
secondary
#F0F3D8
accent
#D80DC5
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #A79FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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