#8A79F7#8A79F7

#8A79F7 is a light, vivid blue. Relative luminance 0.258; OKLCH L 65.2% C 0.181 H 286.4°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8A79F7
RGBrgb(138, 121, 247)
HSLhsl(248, 89%, 72%)
HSVhsv(248, 51%, 97%)
CMYKcmyk(44.1%, 51%, 0%, 3.1%)
CIE-LABlab(57.84, 37.02, -61.19)
CIE-LCHlch(57.84, 71.52, 301.17°)
OKLaboklab(65.15% 0.0512 -0.174)
OKLCHoklch(65.15% 0.181 286.4)
XYZxyz(34.1023, 25.7920, 91.1592)
Luminance0.2579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79F7 #E6F779
analogous
#79A7F7 #8A79F7 #C979F7
triadic
#8A79F7 #F78A79 #79F78A
tetradic
#8A79F7 #F779A7 #E6F779 #79F7C9
square
#8A79F7 #F779A7 #E6F779 #79F7C9
split-complementary
#8A79F7 #F7C979 #A7F779
monochromatic
#2B0EE8 #583FF4 #8A79F7 #BCB3FA #E6E2FD

Accessibility & contrast

On white

3.41
#8A79F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#8A79F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79F7
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79F7#FFFFFF#000000##000000
##8A79F71.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8EFB
Deuteranopia (green-blind)
#3C87F4
Tritanopia (blue-blind)
#6894AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a79f7;
/* rgb */ color: rgb(138, 121, 247);
/* oklch */ color: oklch(65.2% 0.181 286.4);
Tailwind
colors: {
  custom: {
    50: '#b2a0fa',
    500: '#8a79f7',
    950: '#000000',
  },
}
SCSS
$custom: #8a79f7;
$custom-light: #b2a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79f7",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 247
  },
  "hsl": {
    "h": 248.095,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.65153,
    "c": 0.18136,
    "h": 286.4
  },
  "luminance": 0.25793
}

Semantic roles & 50–950 ramp

primary
#8A79F7
secondary
#F1F5D6
accent
#E500C6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A79F7

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

Preview Lab → · Contrast checker → · Palette generator →

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