#8D79B1#8D79B1

#8D79B1 is a mid, moderate violet. Relative luminance 0.225; OKLCH L 61.6% C 0.086 H 300.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8D79B1
RGBrgb(141, 121, 177)
HSLhsl(261, 26%, 58%)
HSVhsv(261, 32%, 69%)
CMYKcmyk(20.3%, 31.6%, 0%, 30.6%)
CIE-LABlab(54.57, 19.39, -26.84)
CIE-LCHlch(54.57, 33.11, 305.85°)
OKLaboklab(61.59% 0.0433 -0.074)
OKLCHoklch(61.59% 0.086 300.3)
XYZxyz(25.7560, 22.5117, 44.5747)
Luminance0.2251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D79B1 #9DB179
analogous
#7981B1 #8D79B1 #A979B1
triadic
#8D79B1 #B18D79 #79B18D
tetradic
#8D79B1 #B17981 #9DB179 #79B1A9
square
#8D79B1 #B17981 #9DB179 #79B1A9
split-complementary
#8D79B1 #B1A979 #81B179
monochromatic
#51416F #6D5796 #8D79B1 #AEA0C8 #CFC6DE

Accessibility & contrast

On white

3.82
#8D79B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#8D79B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D79B1
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D79B1#FFFFFF#000000##000000
##8D79B11.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D82B3
Deuteranopia (green-blind)
#7082AF
Tritanopia (blue-blind)
#87828D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d79b1;
/* rgb */ color: rgb(141, 121, 177);
/* oklch */ color: oklch(61.6% 0.086 300.3);
Tailwind
colors: {
  custom: {
    50: '#af9fc8',
    500: '#8d79b1',
    950: '#000000',
  },
}
SCSS
$custom: #8d79b1;
$custom-light: #af9fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d79b1",
  "rgb": {
    "r": 141,
    "g": 121,
    "b": 177
  },
  "hsl": {
    "h": 261.429,
    "s": 26.415,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6159,
    "c": 0.08576,
    "h": 300.3
  },
  "luminance": 0.22512
}

Semantic roles & 50–950 ramp

primary
#8D79B1
secondary
#C6CEB8
accent
#C365A1
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8D79B1

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

Preview Lab → · Contrast checker → · Palette generator →

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