#8A79BE#8A79BE

#8A79BE is a mid, moderate violet. Relative luminance 0.228; OKLCH L 61.9% C 0.104 H 294.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8A79BE
RGBrgb(138, 121, 190)
HSLhsl(255, 35%, 61%)
HSVhsv(255, 36%, 75%)
CMYKcmyk(27.4%, 36.3%, 0%, 25.5%)
CIE-LABlab(54.86, 21.66, -33.86)
CIE-LCHlch(54.86, 40.19, 302.61°)
OKLaboklab(61.94% 0.043 -0.0942)
OKLCHoklch(61.94% 0.104 294.5)
XYZxyz(26.6106, 22.7954, 51.7032)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79BE #ADBE79
analogous
#798ABE #8A79BE #AC79BE
triadic
#8A79BE #BE8A79 #79BE8A
tetradic
#8A79BE #BE798A #ADBE79 #79BEAC
square
#8A79BE #BE798A #ADBE79 #79BEAC
split-complementary
#8A79BE #BEAC79 #8ABE79
monochromatic
#4E3E7F #6752A8 #8A79BE #AEA2D2 #D2CBE6

Accessibility & contrast

On white

3.78
#8A79BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#8A79BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79BE
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79BE#FFFFFF#000000##000000
##8A79BE1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6784C1
Deuteranopia (green-blind)
#6982BC
Tritanopia (blue-blind)
#7F8593
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a79be;
/* rgb */ color: rgb(138, 121, 190);
/* oklch */ color: oklch(61.9% 0.104 294.5);
Tailwind
colors: {
  custom: {
    50: '#ad9fd2',
    500: '#8a79be',
    950: '#000000',
  },
}
SCSS
$custom: #8a79be;
$custom-light: #ad9fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79be",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 190
  },
  "hsl": {
    "h": 254.783,
    "s": 34.673,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61936,
    "c": 0.10357,
    "h": 294.5
  },
  "luminance": 0.22796
}

Semantic roles & 50–950 ramp

primary
#8A79BE
secondary
#D0D6BC
accent
#AE3891
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A79BE

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

Preview Lab → · Contrast checker → · Palette generator →

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