#8A79F8#8A79F8

#8A79F8 is a light, vivid blue. Relative luminance 0.259; OKLCH L 65.2% C 0.183 H 286.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8A79F8
RGBrgb(138, 121, 248)
HSLhsl(248, 90%, 72%)
HSVhsv(248, 51%, 97%)
CMYKcmyk(44.4%, 51.2%, 0%, 2.7%)
CIE-LABlab(57.90, 37.30, -61.65)
CIE-LCHlch(57.90, 72.06, 301.18°)
OKLaboklab(65.22% 0.0513 -0.1753)
OKLCHoklch(65.22% 0.183 286.3)
XYZxyz(34.2570, 25.8539, 91.9740)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79F8 #E7F879
analogous
#79A8F8 #8A79F8 #C979F8
triadic
#8A79F8 #F88A79 #79F88A
tetradic
#8A79F8 #F879A8 #E7F879 #79F8C9
square
#8A79F8 #F879A8 #E7F879 #79F8C9
split-complementary
#8A79F8 #F8C979 #A8F879
monochromatic
#2A0CEA #573FF5 #8A79F8 #BDB3FB #E6E2FD

Accessibility & contrast

On white

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

On black

6.17
#8A79F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79F8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79F8#FFFFFF#000000##000000
##8A79F81.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8EFC
Deuteranopia (green-blind)
#3B88F5
Tritanopia (blue-blind)
#6794AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a79f8;
/* rgb */ color: rgb(138, 121, 248);
/* oklch */ color: oklch(65.2% 0.183 286.3);
Tailwind
colors: {
  custom: {
    50: '#b2a0fb',
    500: '#8a79f8',
    950: '#000000',
  },
}
SCSS
$custom: #8a79f8;
$custom-light: #b2a0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79f8",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 248.031,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.65216,
    "c": 0.18267,
    "h": 286.3
  },
  "luminance": 0.25855
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A79F8

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

Preview Lab → · Contrast checker → · Palette generator →

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