#8A79D2#8A79D2

#8A79D2 is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.0% C 0.132 H 290.9°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8A79D2
RGBrgb(138, 121, 210)
HSLhsl(251, 50%, 65%)
HSVhsv(251, 42%, 82%)
CMYKcmyk(34.3%, 42.4%, 0%, 17.6%)
CIE-LABlab(55.82, 26.85, -43.73)
CIE-LCHlch(55.82, 51.31, 301.55°)
OKLaboklab(62.98% 0.0469 -0.1229)
OKLCHoklch(62.98% 0.132 290.9)
XYZxyz(28.9484, 23.7305, 64.0155)
Luminance0.2373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79D2 #C1D279
analogous
#7994D2 #8A79D2 #B779D2
triadic
#8A79D2 #D28A79 #79D28A
tetradic
#8A79D2 #D27994 #C1D279 #79D2B7
square
#8A79D2 #D27994 #C1D279 #79D2B7
split-complementary
#8A79D2 #D2B779 #94D279
monochromatic
#48349C #624BC3 #8A79D2 #B2A7E1 #DAD5F1

Accessibility & contrast

On white

3.65
#8A79D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#8A79D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79D2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79D2#FFFFFF#000000##000000
##8A79D21.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C87D5
Deuteranopia (green-blind)
#5E84D0
Tritanopia (blue-blind)
#788A9B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a79d2;
/* rgb */ color: rgb(138, 121, 210);
/* oklch */ color: oklch(63.0% 0.132 290.9);
Tailwind
colors: {
  custom: {
    50: '#afa0e0',
    500: '#8a79d2',
    950: '#000000',
  },
}
SCSS
$custom: #8a79d2;
$custom-light: #afa0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79d2",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 210
  },
  "hsl": {
    "h": 251.461,
    "s": 49.721,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62976,
    "c": 0.13152,
    "h": 290.9
  },
  "luminance": 0.23731
}

Semantic roles & 50–950 ramp

primary
#8A79D2
secondary
#DDE3C4
accent
#BD28A1
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A79D2

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

Preview Lab → · Contrast checker → · Palette generator →

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