#8A79BD#8A79BD

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

Color values

HEX#8A79BD
RGBrgb(138, 121, 189)
HSLhsl(255, 34%, 61%)
HSVhsv(255, 36%, 74%)
CMYKcmyk(27%, 36%, 0%, 25.9%)
CIE-LABlab(54.82, 21.41, -33.36)
CIE-LCHlch(54.82, 39.64, 302.69°)
OKLaboklab(61.89% 0.0427 -0.0928)
OKLCHoklch(61.89% 0.102 294.7)
XYZxyz(26.5017, 22.7518, 51.1295)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79BD #ACBD79
analogous
#798ABD #8A79BD #AC79BD
triadic
#8A79BD #BD8A79 #79BD8A
tetradic
#8A79BD #BD798A #ACBD79 #79BDAC
square
#8A79BD #BD798A #ACBD79 #79BDAC
split-complementary
#8A79BD #BDAC79 #8ABD79
monochromatic
#4E3E7E #6752A7 #8A79BD #AEA2D1 #D2CBE5

Accessibility & contrast

On white

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

On black

5.55
#8A79BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79BD
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79BD#FFFFFF#000000##000000
##8A79BD1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6784C0
Deuteranopia (green-blind)
#6982BB
Tritanopia (blue-blind)
#7F8592
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a79bd;
/* rgb */ color: rgb(138, 121, 189);
/* oklch */ color: oklch(61.9% 0.102 294.7);
Tailwind
colors: {
  custom: {
    50: '#ad9fd1',
    500: '#8a79bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a79bd;
$custom-light: #ad9fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79bd",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 189
  },
  "hsl": {
    "h": 255,
    "s": 34,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61887,
    "c": 0.10217,
    "h": 294.7
  },
  "luminance": 0.22752
}

Semantic roles & 50–950 ramp

primary
#8A79BD
secondary
#CFD6BC
accent
#AD3990
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A79BD

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

Preview Lab → · Contrast checker → · Palette generator →

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