#8A77EC#8A77EC

#8A77EC is a light, vivid blue. Relative luminance 0.247; OKLCH L 64.1% C 0.170 H 288.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8A77EC
RGBrgb(138, 119, 236)
HSLhsl(250, 75%, 70%)
HSVhsv(250, 50%, 93%)
CMYKcmyk(41.5%, 49.6%, 0%, 7.5%)
CIE-LABlab(56.73, 35.10, -56.85)
CIE-LCHlch(56.73, 66.82, 301.69°)
OKLaboklab(64.12% 0.0527 -0.1613)
OKLCHoklch(64.12% 0.17 288.1)
XYZxyz(32.2141, 24.6519, 82.4016)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77EC #D9EC77
analogous
#779EEC #8A77EC #C577EC
triadic
#8A77EC #EC8A77 #77EC8A
tetradic
#8A77EC #EC779E #D9EC77 #77ECC5
square
#8A77EC #EC779E #D9EC77 #77ECC5
split-complementary
#8A77EC #ECC577 #9EEC77
monochromatic
#391DCC #5C41E4 #8A77EC #B8ADF4 #E6E2FB

Accessibility & contrast

On white

3.54
#8A77EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#8A77EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77EC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77EC#FFFFFF#000000##000000
##8A77EC1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#468BF0
Deuteranopia (green-blind)
#4685E9
Tritanopia (blue-blind)
#6E8FA6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a77ec;
/* rgb */ color: rgb(138, 119, 236);
/* oklch */ color: oklch(64.1% 0.170 288.1);
Tailwind
colors: {
  custom: {
    50: '#b19ef3',
    500: '#8a77ec',
    950: '#000000',
  },
}
SCSS
$custom: #8a77ec;
$custom-light: #b19ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77ec",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 249.744,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64121,
    "c": 0.16967,
    "h": 288.1
  },
  "luminance": 0.24653
}

Semantic roles & 50–950 ramp

primary
#8A77EC
secondary
#EBF0CF
accent
#D80EB7
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A77EC

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

Preview Lab → · Contrast checker → · Palette generator →

#8A77EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva