#8A79E4#8A79E4

#8A79E4 is a light, vivid blue. Relative luminance 0.247; OKLCH L 64.0% C 0.156 H 288.5°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8A79E4
RGBrgb(138, 121, 228)
HSLhsl(250, 66%, 68%)
HSVhsv(250, 47%, 89%)
CMYKcmyk(39.5%, 46.9%, 0%, 10.6%)
CIE-LABlab(56.76, 31.72, -52.35)
CIE-LCHlch(56.76, 61.21, 301.22°)
OKLaboklab(64% 0.0495 -0.148)
OKLCHoklch(64% 0.156 288.5)
XYZxyz(31.3183, 24.6785, 76.4970)
Luminance0.2468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79E4 #D3E479
analogous
#799DE4 #8A79E4 #BF79E4
triadic
#8A79E4 #E48A79 #79E48A
tetradic
#8A79E4 #E4799D #D3E479 #79E4BF
square
#8A79E4 #E4799D #D3E479 #79E4BF
split-complementary
#8A79E4 #E4BF79 #9DE479
monochromatic
#3E26BD #5E46DA #8A79E4 #B6ACEE #E3DFF9

Accessibility & contrast

On white

3.54
#8A79E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#8A79E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79E4
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79E4#FFFFFF#000000##000000
##8A79E41.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#508BE8
Deuteranopia (green-blind)
#5086E2
Tritanopia (blue-blind)
#718EA4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a79e4;
/* rgb */ color: rgb(138, 121, 228);
/* oklch */ color: oklch(64.0% 0.156 288.5);
Tailwind
colors: {
  custom: {
    50: '#b0a0ed',
    500: '#8a79e4',
    950: '#000000',
  },
}
SCSS
$custom: #8a79e4;
$custom-light: #b0a0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79e4",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 228
  },
  "hsl": {
    "h": 249.533,
    "s": 66.46,
    "l": 68.431
  },
  "oklch": {
    "l": 0.63996,
    "c": 0.1561,
    "h": 288.5
  },
  "luminance": 0.24679
}

Semantic roles & 50–950 ramp

primary
#8A79E4
secondary
#E7ECCC
accent
#CE17B1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A79E4

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

Preview Lab → · Contrast checker → · Palette generator →

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