#8A79D4#8A79D4

#8A79D4 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.1% C 0.134 H 290.6°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8A79D4
RGBrgb(138, 121, 212)
HSLhsl(251, 51%, 65%)
HSVhsv(251, 43%, 83%)
CMYKcmyk(34.9%, 42.9%, 0%, 16.9%)
CIE-LABlab(55.92, 27.38, -44.70)
CIE-LCHlch(55.92, 52.42, 301.50°)
OKLaboklab(63.09% 0.0473 -0.1257)
OKLCHoklch(63.09% 0.134 290.6)
XYZxyz(29.1991, 23.8308, 65.3360)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79D4 #C3D479
analogous
#7995D4 #8A79D4 #B779D4
triadic
#8A79D4 #D48A79 #79D48A
tetradic
#8A79D4 #D47995 #C3D479 #79D4B7
square
#8A79D4 #D47995 #C3D479 #79D4B7
split-complementary
#8A79D4 #D4B779 #95D479
monochromatic
#47339F #624BC5 #8A79D4 #B2A7E3 #DBD6F2

Accessibility & contrast

On white

3.64
#8A79D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8A79D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79D4
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79D4#FFFFFF#000000##000000
##8A79D41.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B88D7
Deuteranopia (green-blind)
#5C84D2
Tritanopia (blue-blind)
#788A9C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a79d4;
/* rgb */ color: rgb(138, 121, 212);
/* oklch */ color: oklch(63.1% 0.134 290.6);
Tailwind
colors: {
  custom: {
    50: '#afa0e1',
    500: '#8a79d4',
    950: '#000000',
  },
}
SCSS
$custom: #8a79d4;
$custom-light: #afa0e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79d4",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 212
  },
  "hsl": {
    "h": 251.209,
    "s": 51.412,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63086,
    "c": 0.13427,
    "h": 290.6
  },
  "luminance": 0.23831
}

Semantic roles & 50–950 ramp

primary
#8A79D4
secondary
#DEE4C5
accent
#BF27A2
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A79D4

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

Preview Lab → · Contrast checker → · Palette generator →

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