#8A79EB#8A79EB

#8A79EB is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.4% C 0.165 H 287.7°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8A79EB
RGBrgb(138, 121, 235)
HSLhsl(249, 74%, 70%)
HSVhsv(249, 49%, 92%)
CMYKcmyk(41.3%, 48.5%, 0%, 7.8%)
CIE-LABlab(57.15, 33.66, -55.64)
CIE-LCHlch(57.15, 65.03, 301.17°)
OKLaboklab(64.41% 0.0502 -0.1577)
OKLCHoklch(64.41% 0.165 287.7)
XYZxyz(32.3098, 25.0750, 81.7187)
Luminance0.2508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79EB #DAEB79
analogous
#79A1EB #8A79EB #C379EB
triadic
#8A79EB #EB8A79 #79EB8A
tetradic
#8A79EB #EB79A1 #DAEB79 #79EBC3
square
#8A79EB #EB79A1 #DAEB79 #79EBC3
split-complementary
#8A79EB #EBC379 #A1EB79
monochromatic
#381ECB #5C44E3 #8A79EB #B8AEF3 #E7E4FB

Accessibility & contrast

On white

3.49
#8A79EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8A79EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79EB
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79EB#FFFFFF#000000##000000
##8A79EB1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CEF
Deuteranopia (green-blind)
#4A86E8
Tritanopia (blue-blind)
#6E90A7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a79eb;
/* rgb */ color: rgb(138, 121, 235);
/* oklch */ color: oklch(64.4% 0.165 287.7);
Tailwind
colors: {
  custom: {
    50: '#b1a0f2',
    500: '#8a79eb',
    950: '#000000',
  },
}
SCSS
$custom: #8a79eb;
$custom-light: #b1a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79eb",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 248.947,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64413,
    "c": 0.16548,
    "h": 287.7
  },
  "luminance": 0.25076
}

Semantic roles & 50–950 ramp

primary
#8A79EB
secondary
#EBF0D0
accent
#D60FB9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A79EB

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

Preview Lab → · Contrast checker → · Palette generator →

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