#8A79F5#8A79F5

#8A79F5 is a light, vivid blue. Relative luminance 0.257; OKLCH L 65.0% C 0.179 H 286.6°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8A79F5
RGBrgb(138, 121, 245)
HSLhsl(248, 86%, 72%)
HSVhsv(248, 51%, 96%)
CMYKcmyk(43.7%, 50.6%, 0%, 3.9%)
CIE-LABlab(57.72, 36.46, -60.27)
CIE-LCHlch(57.72, 70.44, 301.17°)
OKLaboklab(65.03% 0.0511 -0.1713)
OKLCHoklch(65.03% 0.179 286.6)
XYZxyz(33.7953, 25.6692, 89.5425)
Luminance0.2567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79F5 #E4F579
analogous
#79A6F5 #8A79F5 #C879F5
triadic
#8A79F5 #F58A79 #79F58A
tetradic
#8A79F5 #F579A6 #E4F579 #79F5C8
square
#8A79F5 #F579A6 #E4F579 #79F5C8
split-complementary
#8A79F5 #F5C879 #A6F579
monochromatic
#2E11E3 #5840F1 #8A79F5 #BCB2F9 #E6E3FD

Accessibility & contrast

On white

3.42
#8A79F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#8A79F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79F5
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79F5#FFFFFF#000000##000000
##8A79F51.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#418EF9
Deuteranopia (green-blind)
#3F87F2
Tritanopia (blue-blind)
#6993AC
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a79f5;
/* rgb */ color: rgb(138, 121, 245);
/* oklch */ color: oklch(65.0% 0.179 286.6);
Tailwind
colors: {
  custom: {
    50: '#b2a0f9',
    500: '#8a79f5',
    950: '#000000',
  },
}
SCSS
$custom: #8a79f5;
$custom-light: #b2a0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79f5",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 245
  },
  "hsl": {
    "h": 248.226,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.65027,
    "c": 0.17874,
    "h": 286.6
  },
  "luminance": 0.25671
}

Semantic roles & 50–950 ramp

primary
#8A79F5
secondary
#F0F5D5
accent
#E303C4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A79F5

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

Preview Lab → · Contrast checker → · Palette generator →

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