#8178DD#8178DD

#8178DD is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.7% C 0.149 H 285.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8178DD
RGBrgb(129, 120, 221)
HSLhsl(245, 60%, 67%)
HSVhsv(245, 46%, 87%)
CMYKcmyk(41.6%, 45.7%, 0%, 13.3%)
CIE-LABlab(55.40, 28.14, -50.63)
CIE-LCHlch(55.40, 57.93, 299.06°)
OKLaboklab(62.67% 0.0393 -0.1432)
OKLCHoklch(62.67% 0.149 285.3)
XYZxyz(28.8171, 23.3194, 71.3753)
Luminance0.2332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8178DD #D4DD78
analogous
#78A1DD #8178DD #B478DD
triadic
#8178DD #DD8178 #78DD81
tetradic
#8178DD #DD78A1 #D4DD78 #78DDB4
square
#8178DD #DD78A1 #D4DD78 #78DDB4
split-complementary
#8178DD #DDB478 #A1DD78
monochromatic
#382CAF #5347D1 #8178DD #AFA9E9 #DCDAF6

Accessibility & contrast

On white

3.71
#8178DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#8178DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8178DD
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8178DD#FFFFFF#000000##000000
##8178DD1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5188E1
Deuteranopia (green-blind)
#4F82DB
Tritanopia (blue-blind)
#668DA0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8178dd;
/* rgb */ color: rgb(129, 120, 221);
/* oklch */ color: oklch(62.7% 0.149 285.3);
Tailwind
colors: {
  custom: {
    50: '#aa9fe8',
    500: '#8178dd',
    950: '#000000',
  },
}
SCSS
$custom: #8178dd;
$custom-light: #aa9fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#8178dd",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 245.347,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62665,
    "c": 0.14853,
    "h": 285.3
  },
  "luminance": 0.23321
}

Semantic roles & 50–950 ramp

primary
#8178DD
secondary
#E6E9C8
accent
#C71EB8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8178DD

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

Preview Lab → · Contrast checker → · Palette generator →

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