#8178CD#8178CD

#8178CD is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.8% C 0.126 H 286.9°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8178CD
RGBrgb(129, 120, 205)
HSLhsl(246, 46%, 64%)
HSVhsv(246, 41%, 80%)
CMYKcmyk(37.1%, 41.5%, 0%, 19.6%)
CIE-LABlab(54.56, 23.67, -42.93)
CIE-LCHlch(54.56, 49.02, 298.87°)
OKLaboklab(61.76% 0.0368 -0.1207)
OKLCHoklch(61.76% 0.126 286.9)
XYZxyz(26.7861, 22.5070, 60.6787)
Luminance0.2251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8178CD #C4CD78
analogous
#7899CD #8178CD #AB78CD
triadic
#8178CD #CD8178 #78CD81
tetradic
#8178CD #CD7899 #C4CD78 #78CDAB
square
#8178CD #CD7899 #C4CD78 #78CDAB
split-complementary
#8178CD #CDAB78 #99CD78
monochromatic
#413794 #574BBC #8178CD #ABA5DE #D4D1EE

Accessibility & contrast

On white

3.82
#8178CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#8178CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8178CD
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8178CD#FFFFFF#000000##000000
##8178CD1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C85D0
Deuteranopia (green-blind)
#5A80CB
Tritanopia (blue-blind)
#6D8899
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8178cd;
/* rgb */ color: rgb(129, 120, 205);
/* oklch */ color: oklch(61.8% 0.126 286.9);
Tailwind
colors: {
  custom: {
    50: '#a89fdc',
    500: '#8178cd',
    950: '#000000',
  },
}
SCSS
$custom: #8178cd;
$custom-light: #a89fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8178cd",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 246.353,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61756,
    "c": 0.12622,
    "h": 286.9
  },
  "luminance": 0.22508
}

Semantic roles & 50–950 ramp

primary
#8178CD
secondary
#DCDFC1
accent
#B92CAA
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8178CD

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

Preview Lab → · Contrast checker → · Palette generator →

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