#8A79E2#8A79E2

#8A79E2 is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.9% C 0.153 H 288.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8A79E2
RGBrgb(138, 121, 226)
HSLhsl(250, 64%, 68%)
HSVhsv(250, 46%, 89%)
CMYKcmyk(38.9%, 46.5%, 0%, 11.4%)
CIE-LABlab(56.65, 31.17, -51.40)
CIE-LCHlch(56.65, 60.12, 301.24°)
OKLaboklab(63.88% 0.0492 -0.1453)
OKLCHoklch(63.88% 0.153 288.7)
XYZxyz(31.0423, 24.5680, 75.0433)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79E2 #D1E279
analogous
#799CE2 #8A79E2 #BE79E2
triadic
#8A79E2 #E28A79 #79E28A
tetradic
#8A79E2 #E2799C #D1E279 #79E2BE
square
#8A79E2 #E2799C #D1E279 #79E2BE
split-complementary
#8A79E2 #E2BE79 #9CE279
monochromatic
#3F28B9 #5E47D7 #8A79E2 #B6ABED #E2DEF8

Accessibility & contrast

On white

3.55
#8A79E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#8A79E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79E2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79E2#FFFFFF#000000##000000
##8A79E21.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#528AE6
Deuteranopia (green-blind)
#5285E0
Tritanopia (blue-blind)
#728EA3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a79e2;
/* rgb */ color: rgb(138, 121, 226);
/* oklch */ color: oklch(63.9% 0.153 288.7);
Tailwind
colors: {
  custom: {
    50: '#b0a0eb',
    500: '#8a79e2',
    950: '#000000',
  },
}
SCSS
$custom: #8a79e2;
$custom-light: #b0a0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79e2",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 226
  },
  "hsl": {
    "h": 249.714,
    "s": 64.417,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63879,
    "c": 0.1534,
    "h": 288.7
  },
  "luminance": 0.24569
}

Semantic roles & 50–950 ramp

primary
#8A79E2
secondary
#E6EBCB
accent
#CC19AF
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A79E2

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

Preview Lab → · Contrast checker → · Palette generator →

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