#8A79C2#8A79C2

#8A79C2 is a light, moderate violet. Relative luminance 0.230; OKLCH L 62.1% C 0.109 H 293.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8A79C2
RGBrgb(138, 121, 194)
HSLhsl(254, 37%, 62%)
HSVhsv(254, 38%, 76%)
CMYKcmyk(28.9%, 37.6%, 0%, 23.9%)
CIE-LABlab(55.04, 22.68, -35.86)
CIE-LCHlch(55.04, 42.43, 302.31°)
OKLaboklab(62.14% 0.0439 -0.1)
OKLCHoklch(62.14% 0.109 293.7)
XYZxyz(27.0538, 22.9726, 54.0373)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79C2 #B1C279
analogous
#798DC2 #8A79C2 #AF79C2
triadic
#8A79C2 #C28A79 #79C28A
tetradic
#8A79C2 #C2798D #B1C279 #79C2AF
square
#8A79C2 #C2798D #B1C279 #79C2AF
split-complementary
#8A79C2 #C2AF79 #8DC279
monochromatic
#4D3C84 #664FAE #8A79C2 #AFA3D5 #D3CDE8

Accessibility & contrast

On white

3.75
#8A79C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#8A79C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79C2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79C2#FFFFFF#000000##000000
##8A79C21.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6585C5
Deuteranopia (green-blind)
#6783C0
Tritanopia (blue-blind)
#7E8694
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a79c2;
/* rgb */ color: rgb(138, 121, 194);
/* oklch */ color: oklch(62.1% 0.109 293.7);
Tailwind
colors: {
  custom: {
    50: '#ae9fd4',
    500: '#8a79c2',
    950: '#000000',
  },
}
SCSS
$custom: #8a79c2;
$custom-light: #ae9fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79c2",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 194
  },
  "hsl": {
    "h": 253.973,
    "s": 37.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62136,
    "c": 0.1092,
    "h": 293.7
  },
  "luminance": 0.22973
}

Semantic roles & 50–950 ramp

primary
#8A79C2
secondary
#D3D9BE
accent
#B03594
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #8A79C2

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

Preview Lab → · Contrast checker → · Palette generator →

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