#8A79FE#8A79FE

#8A79FE is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.6% C 0.190 H 285.7°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8A79FE
RGBrgb(138, 121, 254)
HSLhsl(248, 99%, 74%)
HSVhsv(248, 52%, 100%)
CMYKcmyk(45.7%, 52.4%, 0%, 0.4%)
CIE-LABlab(58.26, 39.00, -64.38)
CIE-LCHlch(58.26, 75.27, 301.21°)
OKLaboklab(65.6% 0.0516 -0.1834)
OKLCHoklch(65.6% 0.19 285.7)
XYZxyz(35.2028, 26.2322, 96.9552)
Luminance0.2623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79FE #EDFE79
analogous
#79AAFE #8A79FE #CC79FE
triadic
#8A79FE #FE8A79 #79FE8A
tetradic
#8A79FE #FE79AA #EDFE79 #79FECC
square
#8A79FE #FE79AA #EDFE79 #79FECC
split-complementary
#8A79FE #FECC79 #AAFE79
monochromatic
#2202FB #553CFE #8A79FE #BFB6FE #E4E1FF

Accessibility & contrast

On white

3.36
#8A79FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#8A79FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79FE
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79FE#FFFFFF#000000##000000
##8A79FE1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3690FF
Deuteranopia (green-blind)
#3288FB
Tritanopia (blue-blind)
#6496B0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a79fe;
/* rgb */ color: rgb(138, 121, 254);
/* oklch */ color: oklch(65.6% 0.190 285.7);
Tailwind
colors: {
  custom: {
    50: '#b3a0ff',
    500: '#8a79fe',
    950: '#000000',
  },
}
SCSS
$custom: #8a79fe;
$custom-light: #b3a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79fe",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 254
  },
  "hsl": {
    "h": 247.669,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.65599,
    "c": 0.19049,
    "h": 285.7
  },
  "luminance": 0.26234
}

Semantic roles & 50–950 ramp

primary
#8A79FE
secondary
#F3F7D4
accent
#E600C8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A79FE

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

Preview Lab → · Contrast checker → · Palette generator →

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