#8A77FC#8A77FC

#8A77FC is a light, vivid blue. Relative luminance 0.256; OKLCH L 65.1% C 0.191 H 286.4°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8A77FC
RGBrgb(138, 119, 252)
HSLhsl(249, 96%, 73%)
HSVhsv(249, 53%, 99%)
CMYKcmyk(45.2%, 52.8%, 0%, 1.2%)
CIE-LABlab(57.68, 39.58, -64.21)
CIE-LCHlch(57.68, 75.43, 301.65°)
OKLaboklab(65.13% 0.0537 -0.1829)
OKLCHoklch(65.13% 0.191 286.4)
XYZxyz(34.6437, 25.6237, 95.1971)
Luminance0.2562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77FC #E9FC77
analogous
#77A7FC #8A77FC #CC77FC
triadic
#8A77FC #FC8A77 #77FC8A
tetradic
#8A77FC #FC77A7 #E9FC77 #77FCCC
square
#8A77FC #FC77A7 #E9FC77 #77FCCC
split-complementary
#8A77FC #FCCC77 #A7FC77
monochromatic
#2705F3 #563BFB #8A77FC #BEB3FD #E5E1FE

Accessibility & contrast

On white

3.43
#8A77FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#8A77FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77FC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77FC#FFFFFF#000000##000000
##8A77FC1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#338EFF
Deuteranopia (green-blind)
#3187F9
Tritanopia (blue-blind)
#6594AE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a77fc;
/* rgb */ color: rgb(138, 119, 252);
/* oklch */ color: oklch(65.1% 0.191 286.4);
Tailwind
colors: {
  custom: {
    50: '#b39efe',
    500: '#8a77fc',
    950: '#000000',
  },
}
SCSS
$custom: #8a77fc;
$custom-light: #b39efe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77fc",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 252
  },
  "hsl": {
    "h": 248.571,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.65129,
    "c": 0.1906,
    "h": 286.4
  },
  "luminance": 0.25625
}

Semantic roles & 50–950 ramp

primary
#8A77FC
secondary
#F2F7D4
accent
#E600C5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8A77FC

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

Preview Lab → · Contrast checker → · Palette generator →

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