#8A79FB#8A79FB

#8A79FB is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.4% C 0.187 H 286.0°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8A79FB
RGBrgb(138, 121, 251)
HSLhsl(248, 94%, 73%)
HSVhsv(248, 52%, 98%)
CMYKcmyk(45%, 51.8%, 0%, 1.6%)
CIE-LABlab(58.08, 38.15, -63.02)
CIE-LCHlch(58.08, 73.67, 301.19°)
OKLaboklab(65.41% 0.0514 -0.1794)
OKLCHoklch(65.41% 0.187 286)
XYZxyz(34.7261, 26.0416, 94.4449)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79FB #EAFB79
analogous
#79A9FB #8A79FB #CB79FB
triadic
#8A79FB #FB8A79 #79FB8A
tetradic
#8A79FB #FB79A9 #EAFB79 #79FBCB
square
#8A79FB #FB79A9 #EAFB79 #79FBCB
split-complementary
#8A79FB #FBCB79 #A9FB79
monochromatic
#2607F2 #563EF9 #8A79FB #BEB4FD #E5E1FE

Accessibility & contrast

On white

3.38
#8A79FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#8A79FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79FB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79FB#FFFFFF#000000##000000
##8A79FB1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8FFF
Deuteranopia (green-blind)
#3788F8
Tritanopia (blue-blind)
#6695AF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a79fb;
/* rgb */ color: rgb(138, 121, 251);
/* oklch */ color: oklch(65.4% 0.187 286.0);
Tailwind
colors: {
  custom: {
    50: '#b2a0fd',
    500: '#8a79fb',
    950: '#000000',
  },
}
SCSS
$custom: #8a79fb;
$custom-light: #b2a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79fb",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 251
  },
  "hsl": {
    "h": 247.846,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.65406,
    "c": 0.18659,
    "h": 286
  },
  "luminance": 0.26043
}

Semantic roles & 50–950 ramp

primary
#8A79FB
secondary
#F2F6D5
accent
#E600C7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8A79FB

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

Preview Lab → · Contrast checker → · Palette generator →

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