#8178CF#8178CF

#8178CF is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.9% C 0.129 H 286.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8178CF
RGBrgb(129, 120, 207)
HSLhsl(246, 48%, 64%)
HSVhsv(246, 42%, 81%)
CMYKcmyk(37.7%, 42%, 0%, 18.8%)
CIE-LABlab(54.66, 24.22, -43.90)
CIE-LCHlch(54.66, 50.14, 298.89°)
OKLaboklab(61.87% 0.0371 -0.1236)
OKLCHoklch(61.87% 0.129 286.7)
XYZxyz(27.0291, 22.6042, 61.9583)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8178CF #C6CF78
analogous
#789BCF #8178CF #AD78CF
triadic
#8178CF #CF8178 #78CF81
tetradic
#8178CF #CF789B #C6CF78 #78CFAD
square
#8178CF #CF789B #C6CF78 #78CFAD
split-complementary
#8178CF #CFAD78 #9BCF78
monochromatic
#403697 #574BBF #8178CF #ABA5DF #D5D2EF

Accessibility & contrast

On white

3.80
#8178CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8178CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8178CF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8178CF#FFFFFF#000000##000000
##8178CF1.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)
#5A85D2
Deuteranopia (green-blind)
#5980CD
Tritanopia (blue-blind)
#6C8999
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8178cf;
/* rgb */ color: rgb(129, 120, 207);
/* oklch */ color: oklch(61.9% 0.129 286.7);
Tailwind
colors: {
  custom: {
    50: '#a99fde',
    500: '#8178cf',
    950: '#000000',
  },
}
SCSS
$custom: #8178cf;
$custom-light: #a99fde;
$custom-dark: #000000;
JSON
{
  "hex": "#8178cf",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 246.207,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61866,
    "c": 0.12904,
    "h": 286.7
  },
  "luminance": 0.22605
}

Semantic roles & 50–950 ramp

primary
#8178CF
secondary
#DDE1C2
accent
#BB2BAC
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8178CF

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

Preview Lab → · Contrast checker → · Palette generator →

#8178CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva