#8F79A9#8F79A9

#8F79A9 is a mid, moderate violet. Relative luminance 0.224; OKLCH L 61.4% C 0.075 H 305.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8F79A9
RGBrgb(143, 121, 169)
HSLhsl(268, 22%, 57%)
HSVhsv(268, 28%, 66%)
CMYKcmyk(15.4%, 28.4%, 0%, 33.7%)
CIE-LABlab(54.43, 18.18, -22.42)
CIE-LCHlch(54.43, 28.87, 309.03°)
OKLaboklab(61.42% 0.0434 -0.0614)
OKLCHoklch(61.42% 0.075 305.2)
XYZxyz(25.3251, 22.3791, 40.5138)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F79A9 #93A979
analogous
#797BA9 #8F79A9 #A779A9
triadic
#8F79A9 #A98F79 #79A98F
tetradic
#8F79A9 #A9797B #93A979 #79A9A7
square
#8F79A9 #A9797B #93A979 #79A9A7
split-complementary
#8F79A9 #A9A779 #7BA979
monochromatic
#524266 #70598B #8F79A9 #AE9EC1 #CDC4D9

Accessibility & contrast

On white

3.84
#8F79A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#8F79A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F79A9
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F79A9#FFFFFF#000000##000000
##8F79A91.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7081AB
Deuteranopia (green-blind)
#7482A8
Tritanopia (blue-blind)
#8B808A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8f79a9;
/* rgb */ color: rgb(143, 121, 169);
/* oklch */ color: oklch(61.4% 0.075 305.2);
Tailwind
colors: {
  custom: {
    50: '#b09fc2',
    500: '#8f79a9',
    950: '#000000',
  },
}
SCSS
$custom: #8f79a9;
$custom-light: #b09fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f79a9",
  "rgb": {
    "r": 143,
    "g": 121,
    "b": 169
  },
  "hsl": {
    "h": 267.5,
    "s": 21.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61421,
    "c": 0.07522,
    "h": 305.2
  },
  "luminance": 0.22379
}

Semantic roles & 50–950 ramp

primary
#8F79A9
secondary
#C0C9B5
accent
#BE6997
background
#FAF9FB
surface
#F5F2F7
border
#CFCCD0
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8F79A9

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

Preview Lab → · Contrast checker → · Palette generator →

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