#8A79BF#8A79BF

#8A79BF is a mid, moderate violet. Relative luminance 0.228; OKLCH L 62.0% C 0.105 H 294.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8A79BF
RGBrgb(138, 121, 191)
HSLhsl(255, 35%, 61%)
HSVhsv(255, 37%, 75%)
CMYKcmyk(27.7%, 36.6%, 0%, 25.1%)
CIE-LABlab(54.91, 21.91, -34.36)
CIE-LCHlch(54.91, 40.75, 302.53°)
OKLaboklab(61.99% 0.0432 -0.0957)
OKLCHoklch(61.99% 0.105 294.3)
XYZxyz(26.7203, 22.8392, 52.2808)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79BF #AEBF79
analogous
#798BBF #8A79BF #AD79BF
triadic
#8A79BF #BF8A79 #79BF8A
tetradic
#8A79BF #BF798B #AEBF79 #79BFAD
square
#8A79BF #BF798B #AEBF79 #79BFAD
split-complementary
#8A79BF #BFAD79 #8BBF79
monochromatic
#4E3D80 #6751AA #8A79BF #AEA2D3 #D2CCE7

Accessibility & contrast

On white

3.77
#8A79BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#8A79BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79BF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79BF#FFFFFF#000000##000000
##8A79BF1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6684C2
Deuteranopia (green-blind)
#6882BD
Tritanopia (blue-blind)
#7F8593
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a79bf;
/* rgb */ color: rgb(138, 121, 191);
/* oklch */ color: oklch(62.0% 0.105 294.3);
Tailwind
colors: {
  custom: {
    50: '#ad9fd2',
    500: '#8a79bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a79bf;
$custom-light: #ad9fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79bf",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 191
  },
  "hsl": {
    "h": 254.571,
    "s": 35.354,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61986,
    "c": 0.10499,
    "h": 294.3
  },
  "luminance": 0.2284
}

Semantic roles & 50–950 ramp

primary
#8A79BF
secondary
#D1D7BD
accent
#AE3791
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A79BF

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

Preview Lab → · Contrast checker → · Palette generator →

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