#8A79DC#8A79DC

#8A79DC is a light, vivid violet. Relative luminance 0.242; OKLCH L 63.5% C 0.145 H 289.5°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8A79DC
RGBrgb(138, 121, 220)
HSLhsl(250, 59%, 67%)
HSVhsv(250, 45%, 86%)
CMYKcmyk(37.3%, 45%, 0%, 13.7%)
CIE-LABlab(56.33, 29.54, -48.55)
CIE-LCHlch(56.33, 56.83, 301.32°)
OKLaboklab(63.53% 0.0485 -0.1369)
OKLCHoklch(63.53% 0.145 289.5)
XYZxyz(30.2334, 24.2445, 70.7830)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79DC #CBDC79
analogous
#799ADC #8A79DC #BC79DC
triadic
#8A79DC #DC8A79 #79DC8A
tetradic
#8A79DC #DC799A #CBDC79 #79DCBC
square
#8A79DC #DC799A #CBDC79 #79DCBC
split-complementary
#8A79DC #DCBC79 #9ADC79
monochromatic
#432DAD #6048CF #8A79DC #B4AAE9 #DFDAF5

Accessibility & contrast

On white

3.59
#8A79DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8A79DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79DC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79DC#FFFFFF#000000##000000
##8A79DC1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5689E0
Deuteranopia (green-blind)
#5785DA
Tritanopia (blue-blind)
#758CA0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a79dc;
/* rgb */ color: rgb(138, 121, 220);
/* oklch */ color: oklch(63.5% 0.145 289.5);
Tailwind
colors: {
  custom: {
    50: '#afa0e7',
    500: '#8a79dc',
    950: '#000000',
  },
}
SCSS
$custom: #8a79dc;
$custom-light: #afa0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79dc",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 250.303,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63533,
    "c": 0.14524,
    "h": 289.5
  },
  "luminance": 0.24245
}

Semantic roles & 50–950 ramp

primary
#8A79DC
secondary
#E3E8C9
accent
#C61FAA
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A79DC

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

Preview Lab → · Contrast checker → · Palette generator →

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