#8A79D1#8A79D1

#8A79D1 is a light, vivid violet. Relative luminance 0.237; OKLCH L 62.9% C 0.130 H 291.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8A79D1
RGBrgb(138, 121, 209)
HSLhsl(252, 49%, 65%)
HSVhsv(252, 42%, 82%)
CMYKcmyk(34%, 42.1%, 0%, 18%)
CIE-LABlab(55.77, 26.59, -43.24)
CIE-LCHlch(55.77, 50.76, 301.59°)
OKLaboklab(62.92% 0.0468 -0.1214)
OKLCHoklch(62.92% 0.13 291.1)
XYZxyz(28.8242, 23.6808, 63.3614)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79D1 #C0D179
analogous
#7994D1 #8A79D1 #B679D1
triadic
#8A79D1 #D18A79 #79D18A
tetradic
#8A79D1 #D17994 #C0D179 #79D1B6
square
#8A79D1 #D17994 #C0D179 #79D1B6
split-complementary
#8A79D1 #D1B679 #94D179
monochromatic
#49359B #624BC1 #8A79D1 #B2A7E1 #DAD4F0

Accessibility & contrast

On white

3.66
#8A79D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#8A79D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79D1
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79D1#FFFFFF#000000##000000
##8A79D11.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D87D4
Deuteranopia (green-blind)
#5E84CF
Tritanopia (blue-blind)
#798A9B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a79d1;
/* rgb */ color: rgb(138, 121, 209);
/* oklch */ color: oklch(62.9% 0.130 291.1);
Tailwind
colors: {
  custom: {
    50: '#afa0df',
    500: '#8a79d1',
    950: '#000000',
  },
}
SCSS
$custom: #8a79d1;
$custom-light: #afa0df;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79d1",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 209
  },
  "hsl": {
    "h": 251.591,
    "s": 48.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62922,
    "c": 0.13013,
    "h": 291.1
  },
  "luminance": 0.23681
}

Semantic roles & 50–950 ramp

primary
#8A79D1
secondary
#DCE2C4
accent
#BC29A0
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A79D1

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

Preview Lab → · Contrast checker → · Palette generator →

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