#8A79BC#8A79BC

#8A79BC is a mid, moderate violet. Relative luminance 0.227; OKLCH L 61.8% C 0.101 H 294.9°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8A79BC
RGBrgb(138, 121, 188)
HSLhsl(255, 33%, 61%)
HSVhsv(255, 36%, 74%)
CMYKcmyk(26.6%, 35.6%, 0%, 26.3%)
CIE-LABlab(54.77, 21.16, -32.86)
CIE-LCHlch(54.77, 39.08, 302.78°)
OKLaboklab(61.84% 0.0425 -0.0913)
OKLCHoklch(61.84% 0.101 294.9)
XYZxyz(26.3935, 22.7085, 50.5599)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79BC #ABBC79
analogous
#7989BC #8A79BC #AB79BC
triadic
#8A79BC #BC8A79 #79BC8A
tetradic
#8A79BC #BC7989 #ABBC79 #79BCAB
square
#8A79BC #BC7989 #ABBC79 #79BCAB
split-complementary
#8A79BC #BCAB79 #89BC79
monochromatic
#4E3E7C #6853A5 #8A79BC #AEA2D0 #D1CBE5

Accessibility & contrast

On white

3.79
#8A79BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8A79BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79BC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79BC#FFFFFF#000000##000000
##8A79BC1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6784BF
Deuteranopia (green-blind)
#6A82BA
Tritanopia (blue-blind)
#808492
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a79bc;
/* rgb */ color: rgb(138, 121, 188);
/* oklch */ color: oklch(61.8% 0.101 294.9);
Tailwind
colors: {
  custom: {
    50: '#ad9fd0',
    500: '#8a79bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a79bc;
$custom-light: #ad9fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79bc",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 188
  },
  "hsl": {
    "h": 255.224,
    "s": 33.333,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61838,
    "c": 0.10075,
    "h": 294.9
  },
  "luminance": 0.22709
}

Semantic roles & 50–950 ramp

primary
#8A79BC
secondary
#CFD5BC
accent
#AC398F
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A79BC

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

Preview Lab → · Contrast checker → · Palette generator →

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