#8A79F2#8A79F2

#8A79F2 is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.8% C 0.175 H 286.9°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8A79F2
RGBrgb(138, 121, 242)
HSLhsl(248, 82%, 71%)
HSVhsv(248, 50%, 95%)
CMYKcmyk(43%, 50%, 0%, 5.1%)
CIE-LABlab(57.55, 35.61, -58.89)
CIE-LCHlch(57.55, 68.82, 301.16°)
OKLaboklab(64.84% 0.0508 -0.1672)
OKLCHoklch(64.84% 0.175 286.9)
XYZxyz(33.3410, 25.4875, 87.1500)
Luminance0.2549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79F2 #E1F279
analogous
#79A4F2 #8A79F2 #C679F2
triadic
#8A79F2 #F28A79 #79F28A
tetradic
#8A79F2 #F279A4 #E1F279 #79F2C6
square
#8A79F2 #F279A4 #E1F279 #79F2C6
split-complementary
#8A79F2 #F2C679 #A4F279
monochromatic
#3115DB #5941ED #8A79F2 #BBB1F7 #E7E3FC

Accessibility & contrast

On white

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

On black

6.10
#8A79F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79F2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79F2#FFFFFF#000000##000000
##8A79F21.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#448DF6
Deuteranopia (green-blind)
#4387EF
Tritanopia (blue-blind)
#6B92AA
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a79f2;
/* rgb */ color: rgb(138, 121, 242);
/* oklch */ color: oklch(64.8% 0.175 286.9);
Tailwind
colors: {
  custom: {
    50: '#b1a0f7',
    500: '#8a79f2',
    950: '#000000',
  },
}
SCSS
$custom: #8a79f2;
$custom-light: #b1a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79f2",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 248.43,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.64841,
    "c": 0.17478,
    "h": 286.9
  },
  "luminance": 0.25489
}

Semantic roles & 50–950 ramp

primary
#8A79F2
secondary
#EFF3D3
accent
#DF07C0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A79F2

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

Preview Lab → · Contrast checker → · Palette generator →

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