#8178DB#8178DB

#8178DB is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.5% C 0.146 H 285.5°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8178DB
RGBrgb(129, 120, 219)
HSLhsl(245, 58%, 66%)
HSVhsv(245, 45%, 86%)
CMYKcmyk(41.1%, 45.2%, 0%, 14.1%)
CIE-LABlab(55.29, 27.57, -49.68)
CIE-LCHlch(55.29, 56.82, 299.03°)
OKLaboklab(62.55% 0.039 -0.1405)
OKLCHoklch(62.55% 0.146 285.5)
XYZxyz(28.5523, 23.2135, 69.9803)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8178DB #D2DB78
analogous
#78A1DB #8178DB #B378DB
triadic
#8178DB #DB8178 #78DB81
tetradic
#8178DB #DB78A1 #D2DB78 #78DBB3
square
#8178DB #DB78A1 #D2DB78 #78DBB3
split-complementary
#8178DB #DBB378 #A1DB78
monochromatic
#392EAB #5448CE #8178DB #AEA8E8 #DBD9F5

Accessibility & contrast

On white

3.72
#8178DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8178DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8178DB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8178DB#FFFFFF#000000##000000
##8178DB1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5387DF
Deuteranopia (green-blind)
#5082D9
Tritanopia (blue-blind)
#678C9F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8178db;
/* rgb */ color: rgb(129, 120, 219);
/* oklch */ color: oklch(62.5% 0.146 285.5);
Tailwind
colors: {
  custom: {
    50: '#aa9fe7',
    500: '#8178db',
    950: '#000000',
  },
}
SCSS
$custom: #8178db;
$custom-light: #aa9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#8178db",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 245.455,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62548,
    "c": 0.14578,
    "h": 285.5
  },
  "luminance": 0.23215
}

Semantic roles & 50–950 ramp

primary
#8178DB
secondary
#E5E7C7
accent
#C520B6
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8178DB

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

Preview Lab → · Contrast checker → · Palette generator →

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