#8A79EF#8A79EF

#8A79EF is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.7% C 0.171 H 287.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8A79EF
RGBrgb(138, 121, 239)
HSLhsl(249, 79%, 71%)
HSVhsv(249, 49%, 94%)
CMYKcmyk(42.3%, 49.4%, 0%, 6.3%)
CIE-LABlab(57.38, 34.77, -57.50)
CIE-LCHlch(57.38, 67.20, 301.16°)
OKLaboklab(64.66% 0.0506 -0.1631)
OKLCHoklch(64.66% 0.171 287.2)
XYZxyz(32.8942, 25.3088, 84.7965)
Luminance0.2531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79EF #DEEF79
analogous
#79A3EF #8A79EF #C579EF
triadic
#8A79EF #EF8A79 #79EF8A
tetradic
#8A79EF #EF79A3 #DEEF79 #79EFC5
square
#8A79EF #EF79A3 #DEEF79 #79EFC5
split-complementary
#8A79EF #EFC579 #A3EF79
monochromatic
#3419D4 #5A42E8 #8A79EF #BAB0F6 #E7E4FC

Accessibility & contrast

On white

3.46
#8A79EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#8A79EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79EF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79EF#FFFFFF#000000##000000
##8A79EF1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#478DF3
Deuteranopia (green-blind)
#4687EC
Tritanopia (blue-blind)
#6C92A9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a79ef;
/* rgb */ color: rgb(138, 121, 239);
/* oklch */ color: oklch(64.7% 0.171 287.2);
Tailwind
colors: {
  custom: {
    50: '#b1a0f5',
    500: '#8a79ef',
    950: '#000000',
  },
}
SCSS
$custom: #8a79ef;
$custom-light: #b1a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79ef",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 248.644,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64656,
    "c": 0.17081,
    "h": 287.2
  },
  "luminance": 0.2531
}

Semantic roles & 50–950 ramp

primary
#8A79EF
secondary
#EDF2D2
accent
#DB0BBD
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A79EF

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

Preview Lab → · Contrast checker → · Palette generator →

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