#8A79C8#8A79C8

#8A79C8 is a light, moderate violet. Relative luminance 0.232; OKLCH L 62.4% C 0.118 H 292.5°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8A79C8
RGBrgb(138, 121, 200)
HSLhsl(253, 42%, 63%)
HSVhsv(253, 40%, 78%)
CMYKcmyk(31%, 39.5%, 0%, 21.6%)
CIE-LABlab(55.33, 24.22, -38.83)
CIE-LCHlch(55.33, 45.77, 301.96°)
OKLaboklab(62.44% 0.0451 -0.1086)
OKLCHoklch(62.44% 0.118 292.5)
XYZxyz(27.7413, 23.2476, 57.6581)
Luminance0.2325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79C8 #B7C879
analogous
#798FC8 #8A79C8 #B179C8
triadic
#8A79C8 #C88A79 #79C88A
tetradic
#8A79C8 #C8798F #B7C879 #79C8B1
square
#8A79C8 #C8798F #B7C879 #79C8B1
split-complementary
#8A79C8 #C8B179 #8FC879
monochromatic
#4C3A8D #644EB6 #8A79C8 #B0A4DA #D6D0EC

Accessibility & contrast

On white

3.72
#8A79C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8A79C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79C8
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79C8#FFFFFF#000000##000000
##8A79C81.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6286CB
Deuteranopia (green-blind)
#6483C6
Tritanopia (blue-blind)
#7C8797
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a79c8;
/* rgb */ color: rgb(138, 121, 200);
/* oklch */ color: oklch(62.4% 0.118 292.5);
Tailwind
colors: {
  custom: {
    50: '#ae9fd9',
    500: '#8a79c8',
    950: '#000000',
  },
}
SCSS
$custom: #8a79c8;
$custom-light: #ae9fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79c8",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 200
  },
  "hsl": {
    "h": 252.911,
    "s": 41.799,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62444,
    "c": 0.11761,
    "h": 292.5
  },
  "luminance": 0.23248
}

Semantic roles & 50–950 ramp

primary
#8A79C8
secondary
#D6DDC0
accent
#B53198
background
#FAF9FD
surface
#F5F2FA
border
#CFCCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #8A79C8

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

Preview Lab → · Contrast checker → · Palette generator →

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