#8A79FA#8A79FA

#8A79FA is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.3% C 0.185 H 286.1°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8A79FA
RGBrgb(138, 121, 250)
HSLhsl(248, 93%, 73%)
HSVhsv(248, 52%, 98%)
CMYKcmyk(44.8%, 51.6%, 0%, 2%)
CIE-LABlab(58.02, 37.87, -62.56)
CIE-LCHlch(58.02, 73.13, 301.18°)
OKLaboklab(65.34% 0.0514 -0.178)
OKLCHoklch(65.34% 0.185 286.1)
XYZxyz(34.5689, 25.9787, 93.6169)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79FA #E9FA79
analogous
#79A8FA #8A79FA #CA79FA
triadic
#8A79FA #FA8A79 #79FA8A
tetradic
#8A79FA #FA79A8 #E9FA79 #79FACA
square
#8A79FA #FA79A8 #E9FA79 #79FACA
split-complementary
#8A79FA #FACA79 #A8FA79
monochromatic
#2709F0 #563EF8 #8A79FA #BEB4FC #E5E2FE

Accessibility & contrast

On white

3.39
#8A79FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#8A79FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79FA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79FA#FFFFFF#000000##000000
##8A79FA1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8FFE
Deuteranopia (green-blind)
#3888F7
Tritanopia (blue-blind)
#6695AE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a79fa;
/* rgb */ color: rgb(138, 121, 250);
/* oklch */ color: oklch(65.3% 0.185 286.1);
Tailwind
colors: {
  custom: {
    50: '#b2a0fd',
    500: '#8a79fa',
    950: '#000000',
  },
}
SCSS
$custom: #8a79fa;
$custom-light: #b2a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79fa",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 250
  },
  "hsl": {
    "h": 247.907,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.65343,
    "c": 0.18528,
    "h": 286.1
  },
  "luminance": 0.2598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A79FA

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

Preview Lab → · Contrast checker → · Palette generator →

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