#8178CA#8178CA

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

Color values

HEX#8178CA
RGBrgb(129, 120, 202)
HSLhsl(247, 44%, 63%)
HSVhsv(247, 41%, 79%)
CMYKcmyk(36.1%, 40.6%, 0%, 20.8%)
CIE-LABlab(54.41, 22.85, -41.46)
CIE-LCHlch(54.41, 47.34, 298.86°)
OKLaboklab(61.59% 0.0362 -0.1165)
OKLCHoklch(61.59% 0.122 287.3)
XYZxyz(26.4275, 22.3636, 58.7899)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8178CA #C1CA78
analogous
#7898CA #8178CA #AA78CA
triadic
#8178CA #CA8178 #78CA81
tetradic
#8178CA #CA7898 #C1CA78 #78CAAA
square
#8178CA #CA7898 #C1CA78 #78CAAA
split-complementary
#8178CA #CAAA78 #98CA78
monochromatic
#42388F #584CB9 #8178CA #AAA4DB #D3D0ED

Accessibility & contrast

On white

3.84
#8178CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#8178CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8178CA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8178CA#FFFFFF#000000##000000
##8178CA1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CD
Deuteranopia (green-blind)
#5C80C8
Tritanopia (blue-blind)
#6E8897
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8178ca;
/* rgb */ color: rgb(129, 120, 202);
/* oklch */ color: oklch(61.6% 0.122 287.3);
Tailwind
colors: {
  custom: {
    50: '#a89fda',
    500: '#8178ca',
    950: '#000000',
  },
}
SCSS
$custom: #8178ca;
$custom-light: #a89fda;
$custom-dark: #000000;
JSON
{
  "hex": "#8178ca",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 246.585,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61593,
    "c": 0.12197,
    "h": 287.3
  },
  "luminance": 0.22364
}

Semantic roles & 50–950 ramp

primary
#8178CA
secondary
#DADEC0
accent
#B72FA8
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8178CA

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

Preview Lab → · Contrast checker → · Palette generator →

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