#8A79FD#8A79FD

#8A79FD is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.5% C 0.189 H 285.8°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8A79FD
RGBrgb(138, 121, 253)
HSLhsl(248, 97%, 73%)
HSVhsv(248, 52%, 99%)
CMYKcmyk(45.5%, 52.2%, 0%, 0.8%)
CIE-LABlab(58.20, 38.72, -63.93)
CIE-LCHlch(58.20, 74.74, 301.20°)
OKLaboklab(65.53% 0.0515 -0.182)
OKLCHoklch(65.53% 0.189 285.8)
XYZxyz(35.0431, 26.1684, 96.1140)
Luminance0.2617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79FD #ECFD79
analogous
#79AAFD #8A79FD #CC79FD
triadic
#8A79FD #FD8A79 #79FD8A
tetradic
#8A79FD #FD79AA #ECFD79 #79FDCC
square
#8A79FD #FD79AA #ECFD79 #79FDCC
split-complementary
#8A79FD #FDCC79 #AAFD79
monochromatic
#2304F8 #553DFC #8A79FD #BFB5FE #E5E1FF

Accessibility & contrast

On white

3.37
#8A79FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#8A79FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79FD
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79FD#FFFFFF#000000##000000
##8A79FD1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3790FF
Deuteranopia (green-blind)
#3488FA
Tritanopia (blue-blind)
#6596B0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a79fd;
/* rgb */ color: rgb(138, 121, 253);
/* oklch */ color: oklch(65.5% 0.189 285.8);
Tailwind
colors: {
  custom: {
    50: '#b3a0ff',
    500: '#8a79fd',
    950: '#000000',
  },
}
SCSS
$custom: #8a79fd;
$custom-light: #b3a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79fd",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 253
  },
  "hsl": {
    "h": 247.727,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.65534,
    "c": 0.18919,
    "h": 285.8
  },
  "luminance": 0.2617
}

Semantic roles & 50–950 ramp

primary
#8A79FD
secondary
#F2F7D4
accent
#E600C8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8A79FD

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

Preview Lab → · Contrast checker → · Palette generator →

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