#8A79E8#8A79E8

#8A79E8 is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.2% C 0.161 H 288.0°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8A79E8
RGBrgb(138, 121, 232)
HSLhsl(249, 71%, 69%)
HSVhsv(249, 48%, 91%)
CMYKcmyk(40.5%, 47.8%, 0%, 9%)
CIE-LABlab(56.98, 32.83, -54.23)
CIE-LCHlch(56.98, 63.39, 301.19°)
OKLaboklab(64.23% 0.0499 -0.1536)
OKLCHoklch(64.23% 0.161 288)
XYZxyz(31.8800, 24.9031, 79.4554)
Luminance0.2490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79E8 #D7E879
analogous
#79A0E8 #8A79E8 #C279E8
triadic
#8A79E8 #E88A79 #79E88A
tetradic
#8A79E8 #E879A0 #D7E879 #79E8C2
square
#8A79E8 #E879A0 #D7E879 #79E8C2
split-complementary
#8A79E8 #E8C279 #A0E879
monochromatic
#3B22C5 #5C45DF #8A79E8 #B8ADF1 #E5E1FA

Accessibility & contrast

On white

3.51
#8A79E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8A79E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79E8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79E8#FFFFFF#000000##000000
##8A79E81.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8BEC
Deuteranopia (green-blind)
#4D86E5
Tritanopia (blue-blind)
#6F90A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a79e8;
/* rgb */ color: rgb(138, 121, 232);
/* oklch */ color: oklch(64.2% 0.161 288.0);
Tailwind
colors: {
  custom: {
    50: '#b0a0f0',
    500: '#8a79e8',
    950: '#000000',
  },
}
SCSS
$custom: #8a79e8;
$custom-light: #b0a0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79e8",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 232
  },
  "hsl": {
    "h": 249.189,
    "s": 70.701,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64233,
    "c": 0.16147,
    "h": 288
  },
  "luminance": 0.24904
}

Semantic roles & 50–950 ramp

primary
#8A79E8
secondary
#EAEFCE
accent
#D313B5
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A79E8

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

Preview Lab → · Contrast checker → · Palette generator →

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