#8A79E5#8A79E5

#8A79E5 is a light, vivid blue. Relative luminance 0.247; OKLCH L 64.1% C 0.157 H 288.4°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8A79E5
RGBrgb(138, 121, 229)
HSLhsl(249, 68%, 69%)
HSVhsv(249, 47%, 90%)
CMYKcmyk(39.7%, 47.2%, 0%, 10.2%)
CIE-LABlab(56.82, 32.00, -52.82)
CIE-LCHlch(56.82, 61.76, 301.21°)
OKLaboklab(64.05% 0.0496 -0.1494)
OKLCHoklch(64.05% 0.157 288.4)
XYZxyz(31.4575, 24.7341, 77.2303)
Luminance0.2473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79E5 #D4E579
analogous
#799EE5 #8A79E5 #C079E5
triadic
#8A79E5 #E58A79 #79E58A
tetradic
#8A79E5 #E5799E #D4E579 #79E5C0
square
#8A79E5 #E5799E #D4E579 #79E5C0
split-complementary
#8A79E5 #E5C079 #9EE579
monochromatic
#3D25BF #5D46DB #8A79E5 #B7ACEF #E4E0F9

Accessibility & contrast

On white

3.53
#8A79E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8A79E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79E5
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79E5#FFFFFF#000000##000000
##8A79E51.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#508BE9
Deuteranopia (green-blind)
#5086E3
Tritanopia (blue-blind)
#718FA4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a79e5;
/* rgb */ color: rgb(138, 121, 229);
/* oklch */ color: oklch(64.1% 0.157 288.4);
Tailwind
colors: {
  custom: {
    50: '#b0a0ee',
    500: '#8a79e5',
    950: '#000000',
  },
}
SCSS
$custom: #8a79e5;
$custom-light: #b0a0ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79e5",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 229
  },
  "hsl": {
    "h": 249.444,
    "s": 67.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.64055,
    "c": 0.15745,
    "h": 288.4
  },
  "luminance": 0.24735
}

Semantic roles & 50–950 ramp

primary
#8A79E5
secondary
#E8EDCD
accent
#CF16B2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A79E5

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

Preview Lab → · Contrast checker → · Palette generator →

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