#8A79E1#8A79E1

#8A79E1 is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.8% C 0.152 H 288.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8A79E1
RGBrgb(138, 121, 225)
HSLhsl(250, 63%, 68%)
HSVhsv(250, 46%, 88%)
CMYKcmyk(38.7%, 46.2%, 0%, 11.8%)
CIE-LABlab(56.60, 30.90, -50.93)
CIE-LCHlch(56.60, 59.57, 301.25°)
OKLaboklab(63.82% 0.0491 -0.1439)
OKLCHoklch(63.82% 0.152 288.8)
XYZxyz(30.9055, 24.5133, 74.3228)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79E1 #D0E179
analogous
#799CE1 #8A79E1 #BE79E1
triadic
#8A79E1 #E18A79 #79E18A
tetradic
#8A79E1 #E1799C #D0E179 #79E1BE
square
#8A79E1 #E1799C #D0E179 #79E1BE
split-complementary
#8A79E1 #E1BE79 #9CE179
monochromatic
#4029B7 #5E47D6 #8A79E1 #B6ABEC #E1DDF7

Accessibility & contrast

On white

3.56
#8A79E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#8A79E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79E1
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79E1#FFFFFF#000000##000000
##8A79E11.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#538AE5
Deuteranopia (green-blind)
#5385DF
Tritanopia (blue-blind)
#728EA2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a79e1;
/* rgb */ color: rgb(138, 121, 225);
/* oklch */ color: oklch(63.8% 0.152 288.8);
Tailwind
colors: {
  custom: {
    50: '#b0a0eb',
    500: '#8a79e1',
    950: '#000000',
  },
}
SCSS
$custom: #8a79e1;
$custom-light: #b0a0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79e1",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 225
  },
  "hsl": {
    "h": 249.808,
    "s": 63.415,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63821,
    "c": 0.15204,
    "h": 288.8
  },
  "luminance": 0.24514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A79E1

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

Preview Lab → · Contrast checker → · Palette generator →

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