#8A79EC#8A79EC

#8A79EC is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.5% C 0.167 H 287.6°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8A79EC
RGBrgb(138, 121, 236)
HSLhsl(249, 75%, 70%)
HSVhsv(249, 49%, 93%)
CMYKcmyk(41.5%, 48.7%, 0%, 7.5%)
CIE-LABlab(57.20, 33.94, -56.10)
CIE-LCHlch(57.20, 65.57, 301.17°)
OKLaboklab(64.47% 0.0503 -0.159)
OKLCHoklch(64.47% 0.167 287.6)
XYZxyz(32.4547, 25.1330, 82.4818)
Luminance0.2513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79EC #DBEC79
analogous
#79A1EC #8A79EC #C479EC
triadic
#8A79EC #EC8A79 #79EC8A
tetradic
#8A79EC #EC79A1 #DBEC79 #79ECC4
square
#8A79EC #EC79A1 #DBEC79 #79ECC4
split-complementary
#8A79EC #ECC479 #A1EC79
monochromatic
#371DCD #5B43E4 #8A79EC #B9AFF4 #E8E4FB

Accessibility & contrast

On white

3.48
#8A79EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#8A79EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79EC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79EC#FFFFFF#000000##000000
##8A79EC1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8CF0
Deuteranopia (green-blind)
#4986E9
Tritanopia (blue-blind)
#6E91A7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a79ec;
/* rgb */ color: rgb(138, 121, 236);
/* oklch */ color: oklch(64.5% 0.167 287.6);
Tailwind
colors: {
  custom: {
    50: '#b1a0f3',
    500: '#8a79ec',
    950: '#000000',
  },
}
SCSS
$custom: #8a79ec;
$custom-light: #b1a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79ec",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 248.87,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.64473,
    "c": 0.16682,
    "h": 287.6
  },
  "luminance": 0.25134
}

Semantic roles & 50–950 ramp

primary
#8A79EC
secondary
#ECF0D0
accent
#D70EBA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A79EC

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

Preview Lab → · Contrast checker → · Palette generator →

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