#8A79CE#8A79CE

#8A79CE is a light, vivid violet. Relative luminance 0.235; OKLCH L 62.8% C 0.126 H 291.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8A79CE
RGBrgb(138, 121, 206)
HSLhsl(252, 46%, 64%)
HSVhsv(252, 41%, 81%)
CMYKcmyk(33%, 41.3%, 0%, 19.2%)
CIE-LABlab(55.62, 25.79, -41.78)
CIE-LCHlch(55.62, 49.10, 301.69°)
OKLaboklab(62.76% 0.0462 -0.1172)
OKLCHoklch(62.76% 0.126 291.5)
XYZxyz(28.4563, 23.5336, 61.4237)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79CE #BDCE79
analogous
#7993CE #8A79CE #B579CE
triadic
#8A79CE #CE8A79 #79CE8A
tetradic
#8A79CE #CE7993 #BDCE79 #79CEB5
square
#8A79CE #CE7993 #BDCE79 #79CEB5
split-complementary
#8A79CE #CEB579 #93CE79
monochromatic
#4A3796 #634CBE #8A79CE #B1A6DE #D8D3EF

Accessibility & contrast

On white

3.68
#8A79CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#8A79CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79CE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79CE#FFFFFF#000000##000000
##8A79CE1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F87D1
Deuteranopia (green-blind)
#6084CC
Tritanopia (blue-blind)
#7A899A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a79ce;
/* rgb */ color: rgb(138, 121, 206);
/* oklch */ color: oklch(62.8% 0.126 291.5);
Tailwind
colors: {
  custom: {
    50: '#aea0dd',
    500: '#8a79ce',
    950: '#000000',
  },
}
SCSS
$custom: #8a79ce;
$custom-light: #aea0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79ce",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 206
  },
  "hsl": {
    "h": 252,
    "s": 46.448,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6276,
    "c": 0.12597,
    "h": 291.5
  },
  "luminance": 0.23534
}

Semantic roles & 50–950 ramp

primary
#8A79CE
secondary
#DAE0C3
accent
#BA2C9D
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A79CE

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

Preview Lab → · Contrast checker → · Palette generator →

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