#8A79F3#8A79F3

#8A79F3 is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.9% C 0.176 H 286.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8A79F3
RGBrgb(138, 121, 243)
HSLhsl(248, 84%, 71%)
HSVhsv(248, 50%, 95%)
CMYKcmyk(43.2%, 50.2%, 0%, 4.7%)
CIE-LABlab(57.61, 35.89, -59.35)
CIE-LCHlch(57.61, 69.36, 301.16°)
OKLaboklab(64.9% 0.0509 -0.1686)
OKLCHoklch(64.9% 0.176 286.8)
XYZxyz(33.4916, 25.5478, 87.9432)
Luminance0.2555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79F3 #E2F379
analogous
#79A5F3 #8A79F3 #C779F3
triadic
#8A79F3 #F38A79 #79F38A
tetradic
#8A79F3 #F379A5 #E2F379 #79F3C7
square
#8A79F3 #F379A5 #E2F379 #79F3C7
split-complementary
#8A79F3 #F3C779 #A5F379
monochromatic
#3014DE #5941EE #8A79F3 #BBB1F8 #E6E3FC

Accessibility & contrast

On white

3.44
#8A79F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#8A79F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79F3
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79F3#FFFFFF#000000##000000
##8A79F31.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#438DF7
Deuteranopia (green-blind)
#4187F0
Tritanopia (blue-blind)
#6A93AB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a79f3;
/* rgb */ color: rgb(138, 121, 243);
/* oklch */ color: oklch(64.9% 0.176 286.8);
Tailwind
colors: {
  custom: {
    50: '#b2a0f8',
    500: '#8a79f3',
    950: '#000000',
  },
}
SCSS
$custom: #8a79f3;
$custom-light: #b2a0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79f3",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 243
  },
  "hsl": {
    "h": 248.361,
    "s": 83.562,
    "l": 71.373
  },
  "oklch": {
    "l": 0.64903,
    "c": 0.1761,
    "h": 286.8
  },
  "luminance": 0.25549
}

Semantic roles & 50–950 ramp

primary
#8A79F3
secondary
#EFF4D4
accent
#E006C2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A79F3

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

Preview Lab → · Contrast checker → · Palette generator →

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