#8A79CC#8A79CC

#8A79CC is a light, vivid violet. Relative luminance 0.234; OKLCH L 62.7% C 0.123 H 291.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8A79CC
RGBrgb(138, 121, 204)
HSLhsl(252, 45%, 64%)
HSVhsv(252, 41%, 80%)
CMYKcmyk(32.4%, 40.7%, 0%, 20%)
CIE-LABlab(55.52, 25.27, -40.80)
CIE-LCHlch(55.52, 47.99, 301.77°)
OKLaboklab(62.65% 0.0459 -0.1143)
OKLCHoklch(62.65% 0.123 291.9)
XYZxyz(28.2149, 23.4371, 60.1523)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79CC #BBCC79
analogous
#7991CC #8A79CC #B379CC
triadic
#8A79CC #CC8A79 #79CC8A
tetradic
#8A79CC #CC7991 #BBCC79 #79CCB3
square
#8A79CC #CC7991 #BBCC79 #79CCB3
split-complementary
#8A79CC #CCB379 #91CC79
monochromatic
#4A3893 #634DBB #8A79CC #B1A5DD #D7D2EE

Accessibility & contrast

On white

3.69
#8A79CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8A79CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79CC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79CC#FFFFFF#000000##000000
##8A79CC1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CF
Deuteranopia (green-blind)
#6183CA
Tritanopia (blue-blind)
#7B8899
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a79cc;
/* rgb */ color: rgb(138, 121, 204);
/* oklch */ color: oklch(62.7% 0.123 291.9);
Tailwind
colors: {
  custom: {
    50: '#aea0dc',
    500: '#8a79cc',
    950: '#000000',
  },
}
SCSS
$custom: #8a79cc;
$custom-light: #aea0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79cc",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 204
  },
  "hsl": {
    "h": 252.289,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62654,
    "c": 0.1232,
    "h": 291.9
  },
  "luminance": 0.23438
}

Semantic roles & 50–950 ramp

primary
#8A79CC
secondary
#D9DFC2
accent
#B82D9C
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8A79CC

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

Preview Lab → · Contrast checker → · Palette generator →

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