#8A79F9#8A79F9

#8A79F9 is a light, vivid blue. Relative luminance 0.259; OKLCH L 65.3% C 0.184 H 286.2°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8A79F9
RGBrgb(138, 121, 249)
HSLhsl(248, 91%, 73%)
HSVhsv(248, 51%, 98%)
CMYKcmyk(44.6%, 51.4%, 0%, 2.4%)
CIE-LABlab(57.96, 37.58, -62.11)
CIE-LCHlch(57.96, 72.59, 301.18°)
OKLaboklab(65.28% 0.0513 -0.1767)
OKLCHoklch(65.28% 0.184 286.2)
XYZxyz(34.4125, 25.9161, 92.7933)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79F9 #E8F979
analogous
#79A8F9 #8A79F9 #CA79F9
triadic
#8A79F9 #F98A79 #79F98A
tetradic
#8A79F9 #F979A8 #E8F979 #79F9CA
square
#8A79F9 #F979A8 #E8F979 #79F9CA
split-complementary
#8A79F9 #F9CA79 #A8F979
monochromatic
#290BED #573EF6 #8A79F9 #BDB4FC #E5E2FE

Accessibility & contrast

On white

3.40
#8A79F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#8A79F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79F9
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79F9#FFFFFF#000000##000000
##8A79F91.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8FFD
Deuteranopia (green-blind)
#3A88F6
Tritanopia (blue-blind)
#6794AE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a79f9;
/* rgb */ color: rgb(138, 121, 249);
/* oklch */ color: oklch(65.3% 0.184 286.2);
Tailwind
colors: {
  custom: {
    50: '#b2a0fc',
    500: '#8a79f9',
    950: '#000000',
  },
}
SCSS
$custom: #8a79f9;
$custom-light: #b2a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79f9",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 249
  },
  "hsl": {
    "h": 247.969,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65279,
    "c": 0.18398,
    "h": 286.2
  },
  "luminance": 0.25918
}

Semantic roles & 50–950 ramp

primary
#8A79F9
secondary
#F1F6D5
accent
#E600C7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A79F9

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

Preview Lab → · Contrast checker → · Palette generator →

#8A79F9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva