#A79CEF#A79CEF

#A79CEF is a light, moderate blue. Relative luminance 0.382; OKLCH L 73.4% C 0.119 H 289.2°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#A79CEF
RGBrgb(167, 156, 239)
HSLhsl(248, 72%, 77%)
HSVhsv(248, 35%, 94%)
CMYKcmyk(30.1%, 34.7%, 0%, 6.3%)
CIE-LABlab(68.19, 22.16, -40.25)
CIE-LCHlch(68.19, 45.95, 298.83°)
OKLaboklab(73.43% 0.0391 -0.1122)
OKLCHoklch(73.43% 0.119 289.2)
XYZxyz(43.4008, 38.2235, 86.7359)
Luminance0.3822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79CEF #E4EF9C
analogous
#9CBAEF #A79CEF #D19CEF
triadic
#A79CEF #EFA79C #9CEFA7
tetradic
#A79CEF #EF9CBA #E4EF9C #9CEFD1
square
#A79CEF #EF9CBA #E4EF9C #9CEFD1
split-complementary
#A79CEF #EFD19C #BAEF9C
monochromatic
#4933DE #7867E6 #A79CEF #D6D1F8 #E8E5FB

Accessibility & contrast

On white

2.43
#A79CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#A79CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79CEF
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79CEF#FFFFFF#000000##000000
##A79CEF1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A8F2
Deuteranopia (green-blind)
#84A4ED
Tritanopia (blue-blind)
#96ABBB
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a79cef;
/* rgb */ color: rgb(167, 156, 239);
/* oklch */ color: oklch(73.4% 0.119 289.2);
Tailwind
colors: {
  custom: {
    50: '#c3b9f4',
    500: '#a79cef',
    950: '#000000',
  },
}
SCSS
$custom: #a79cef;
$custom-light: #c3b9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a79cef",
  "rgb": {
    "r": 167,
    "g": 156,
    "b": 239
  },
  "hsl": {
    "h": 247.952,
    "s": 72.174,
    "l": 77.451
  },
  "oklch": {
    "l": 0.73431,
    "c": 0.1188,
    "h": 289.2
  },
  "luminance": 0.38224
}

Semantic roles & 50–950 ramp

primary
#A79CEF
secondary
#EFF2D9
accent
#D411BA
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #A79CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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