#8A79E3#8A79E3

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

Color values

HEX#8A79E3
RGBrgb(138, 121, 227)
HSLhsl(250, 65%, 68%)
HSVhsv(250, 47%, 89%)
CMYKcmyk(39.2%, 46.7%, 0%, 11%)
CIE-LABlab(56.71, 31.45, -51.87)
CIE-LCHlch(56.71, 60.66, 301.23°)
OKLaboklab(63.94% 0.0494 -0.1467)
OKLCHoklch(63.94% 0.155 288.6)
XYZxyz(31.1799, 24.6231, 75.7681)
Luminance0.2462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79E3 #D2E379
analogous
#799DE3 #8A79E3 #BF79E3
triadic
#8A79E3 #E38A79 #79E38A
tetradic
#8A79E3 #E3799D #D2E379 #79E3BF
square
#8A79E3 #E3799D #D2E379 #79E3BF
split-complementary
#8A79E3 #E3BF79 #9DE379
monochromatic
#3F27BB #5E46D8 #8A79E3 #B6ACEE #E2DEF8

Accessibility & contrast

On white

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

On black

5.92
#8A79E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79E3
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79E3#FFFFFF#000000##000000
##8A79E31.003.545.925.92
#FFFFFF3.541.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#518AE7
Deuteranopia (green-blind)
#5185E1
Tritanopia (blue-blind)
#728EA3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a79e3;
/* rgb */ color: rgb(138, 121, 227);
/* oklch */ color: oklch(63.9% 0.155 288.6);
Tailwind
colors: {
  custom: {
    50: '#b0a0ec',
    500: '#8a79e3',
    950: '#000000',
  },
}
SCSS
$custom: #8a79e3;
$custom-light: #b0a0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79e3",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 227
  },
  "hsl": {
    "h": 249.623,
    "s": 65.432,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63937,
    "c": 0.15474,
    "h": 288.6
  },
  "luminance": 0.24624
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A79E3

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

Preview Lab → · Contrast checker → · Palette generator →

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