#A79CEC#A79CEC

#A79CEC is a light, moderate blue. Relative luminance 0.380; OKLCH L 73.3% C 0.115 H 289.6°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#A79CEC
RGBrgb(167, 156, 236)
HSLhsl(248, 68%, 77%)
HSVhsv(248, 34%, 93%)
CMYKcmyk(29.2%, 33.9%, 0%, 7.5%)
CIE-LABlab(68.06, 21.41, -38.81)
CIE-LCHlch(68.06, 44.33, 298.89°)
OKLaboklab(73.29% 0.0384 -0.108)
OKLCHoklch(73.29% 0.115 289.6)
XYZxyz(42.9613, 38.0477, 84.4211)
Luminance0.3805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79CEC #E1EC9C
analogous
#9CB9EC #A79CEC #CF9CEC
triadic
#A79CEC #ECA79C #9CECA7
tetradic
#A79CEC #EC9CB9 #E1EC9C #9CECCF
square
#A79CEC #EC9CB9 #E1EC9C #9CECCF
split-complementary
#A79CEC #ECCF9C #B9EC9C
monochromatic
#4C35D8 #7969E2 #A79CEC #D5CFF6 #E8E5FA

Accessibility & contrast

On white

2.44
#A79CEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#A79CEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79CEC
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79CEC#FFFFFF#000000##000000
##A79CEC1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A7EF
Deuteranopia (green-blind)
#86A4EA
Tritanopia (blue-blind)
#97AAB9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a79cec;
/* rgb */ color: rgb(167, 156, 236);
/* oklch */ color: oklch(73.3% 0.115 289.6);
Tailwind
colors: {
  custom: {
    50: '#c3b9f2',
    500: '#a79cec',
    950: '#000000',
  },
}
SCSS
$custom: #a79cec;
$custom-light: #c3b9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a79cec",
  "rgb": {
    "r": 167,
    "g": 156,
    "b": 236
  },
  "hsl": {
    "h": 248.25,
    "s": 67.797,
    "l": 76.863
  },
  "oklch": {
    "l": 0.7329,
    "c": 0.11465,
    "h": 289.6
  },
  "luminance": 0.38049
}

Semantic roles & 50–950 ramp

primary
#A79CEC
secondary
#EEF2D9
accent
#D016B6
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #A79CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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