#8F79BB#8F79BB

#8F79BB is a light, moderate violet. Relative luminance 0.231; OKLCH L 62.2% C 0.100 H 298.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8F79BB
RGBrgb(143, 121, 187)
HSLhsl(260, 33%, 60%)
HSVhsv(260, 35%, 73%)
CMYKcmyk(23.5%, 35.3%, 0%, 26.7%)
CIE-LABlab(55.18, 22.42, -31.62)
CIE-LCHlch(55.18, 38.76, 305.35°)
OKLaboklab(62.24% 0.0482 -0.0877)
OKLCHoklch(62.24% 0.1 298.8)
XYZxyz(27.1327, 23.1021, 50.0338)
Luminance0.2310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F79BB #A5BB79
analogous
#7984BB #8F79BB #B079BB
triadic
#8F79BB #BB8F79 #79BB8F
tetradic
#8F79BB #BB7984 #A5BB79 #79BBB0
square
#8F79BB #BB7984 #A5BB79 #79BBB0
split-complementary
#8F79BB #BBB079 #84BB79
monochromatic
#533E7B #6E53A4 #8F79BB #B1A2D0 #D3CAE4

Accessibility & contrast

On white

3.74
#8F79BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8F79BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F79BB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F79BB#FFFFFF#000000##000000
##8F79BB1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6984BE
Deuteranopia (green-blind)
#6D84B9
Tritanopia (blue-blind)
#878491
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8f79bb;
/* rgb */ color: rgb(143, 121, 187);
/* oklch */ color: oklch(62.2% 0.100 298.8);
Tailwind
colors: {
  custom: {
    50: '#b1a0cf',
    500: '#8f79bb',
    950: '#000000',
  },
}
SCSS
$custom: #8f79bb;
$custom-light: #b1a0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f79bb",
  "rgb": {
    "r": 143,
    "g": 121,
    "b": 187
  },
  "hsl": {
    "h": 260,
    "s": 32.673,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62242,
    "c": 0.10006,
    "h": 298.8
  },
  "luminance": 0.23102
}

Semantic roles & 50–950 ramp

primary
#8F79BB
secondary
#CCD5BB
accent
#AB3A86
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #8F79BB

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

Preview Lab → · Contrast checker → · Palette generator →

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