#8A79D3#8A79D3

#8A79D3 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.0% C 0.133 H 290.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8A79D3
RGBrgb(138, 121, 211)
HSLhsl(251, 51%, 65%)
HSVhsv(251, 43%, 83%)
CMYKcmyk(34.6%, 42.7%, 0%, 17.3%)
CIE-LABlab(55.87, 27.12, -44.21)
CIE-LCHlch(55.87, 51.86, 301.52°)
OKLaboklab(63.03% 0.0471 -0.1243)
OKLCHoklch(63.03% 0.133 290.8)
XYZxyz(29.0734, 23.7805, 64.6737)
Luminance0.2378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79D3 #C2D379
analogous
#7995D3 #8A79D3 #B779D3
triadic
#8A79D3 #D38A79 #79D38A
tetradic
#8A79D3 #D37995 #C2D379 #79D3B7
square
#8A79D3 #D37995 #C2D379 #79D3B7
split-complementary
#8A79D3 #D3B779 #95D379
monochromatic
#48349E #624BC4 #8A79D3 #B2A7E2 #DAD5F1

Accessibility & contrast

On white

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

On black

5.76
#8A79D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79D3
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79D3#FFFFFF#000000##000000
##8A79D31.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a79d3;
/* rgb */ color: rgb(138, 121, 211);
/* oklch */ color: oklch(63.0% 0.133 290.8);
Tailwind
colors: {
  custom: {
    50: '#afa0e1',
    500: '#8a79d3',
    950: '#000000',
  },
}
SCSS
$custom: #8a79d3;
$custom-light: #afa0e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79d3",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 211
  },
  "hsl": {
    "h": 251.333,
    "s": 50.562,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63031,
    "c": 0.1329,
    "h": 290.8
  },
  "luminance": 0.23781
}

Semantic roles & 50–950 ramp

primary
#8A79D3
secondary
#DDE3C5
accent
#BE28A2
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A79D3

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

Preview Lab → · Contrast checker → · Palette generator →

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