#8178CB#8178CB

#8178CB is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.6% C 0.123 H 287.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8178CB
RGBrgb(129, 120, 203)
HSLhsl(247, 44%, 63%)
HSVhsv(247, 41%, 80%)
CMYKcmyk(36.5%, 40.9%, 0%, 20.4%)
CIE-LABlab(54.46, 23.12, -41.95)
CIE-LCHlch(54.46, 47.90, 298.86°)
OKLaboklab(61.65% 0.0364 -0.1179)
OKLCHoklch(61.65% 0.123 287.2)
XYZxyz(26.5463, 22.4111, 59.4154)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8178CB #C2CB78
analogous
#7898CB #8178CB #AA78CB
triadic
#8178CB #CB8178 #78CB81
tetradic
#8178CB #CB7898 #C2CB78 #78CBAA
square
#8178CB #CB7898 #C2CB78 #78CBAA
split-complementary
#8178CB #CBAA78 #98CB78
monochromatic
#413891 #584CBA #8178CB #AAA4DC #D3D0ED

Accessibility & contrast

On white

3.83
#8178CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#8178CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8178CB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8178CB#FFFFFF#000000##000000
##8178CB1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CE
Deuteranopia (green-blind)
#5C80C9
Tritanopia (blue-blind)
#6E8898
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8178cb;
/* rgb */ color: rgb(129, 120, 203);
/* oklch */ color: oklch(61.6% 0.123 287.2);
Tailwind
colors: {
  custom: {
    50: '#a89fdb',
    500: '#8178cb',
    950: '#000000',
  },
}
SCSS
$custom: #8178cb;
$custom-light: #a89fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8178cb",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 246.506,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61647,
    "c": 0.12339,
    "h": 287.2
  },
  "luminance": 0.22412
}

Semantic roles & 50–950 ramp

primary
#8178CB
secondary
#DBDEC1
accent
#B82EA9
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8178CB

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

Preview Lab → · Contrast checker → · Palette generator →

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