#8B78BD#8B78BD

#8B78BD is a mid, moderate violet. Relative luminance 0.226; OKLCH L 61.8% C 0.104 H 295.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8B78BD
RGBrgb(139, 120, 189)
HSLhsl(257, 34%, 61%)
HSVhsv(257, 37%, 74%)
CMYKcmyk(26.5%, 36.5%, 0%, 25.9%)
CIE-LABlab(54.65, 22.30, -33.60)
CIE-LCHlch(54.65, 40.33, 303.56°)
OKLaboklab(61.79% 0.0454 -0.0935)
OKLCHoklch(61.79% 0.104 295.9)
XYZxyz(26.5471, 22.5957, 51.0970)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B78BD #AABD78
analogous
#7887BD #8B78BD #AD78BD
triadic
#8B78BD #BD8B78 #78BD8B
tetradic
#8B78BD #BD7887 #AABD78 #78BDAD
square
#8B78BD #BD7887 #AABD78 #78BDAD
split-complementary
#8B78BD #BDAD78 #87BD78
monochromatic
#4F3D7D #6951A6 #8B78BD #AEA1D1 #D2CAE5

Accessibility & contrast

On white

3.80
#8B78BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8B78BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B78BD
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B78BD#FFFFFF#000000##000000
##8B78BD1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683C0
Deuteranopia (green-blind)
#6982BB
Tritanopia (blue-blind)
#818492
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8b78bd;
/* rgb */ color: rgb(139, 120, 189);
/* oklch */ color: oklch(61.8% 0.104 295.9);
Tailwind
colors: {
  custom: {
    50: '#ae9fd1',
    500: '#8b78bd',
    950: '#000000',
  },
}
SCSS
$custom: #8b78bd;
$custom-light: #ae9fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b78bd",
  "rgb": {
    "r": 139,
    "g": 120,
    "b": 189
  },
  "hsl": {
    "h": 256.522,
    "s": 34.328,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61785,
    "c": 0.1039,
    "h": 295.9
  },
  "luminance": 0.22596
}

Semantic roles & 50–950 ramp

primary
#8B78BD
secondary
#CED6BB
accent
#AD388D
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8B78BD

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

Preview Lab → · Contrast checker → · Palette generator →

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