#8A77F2#8A77F2

#8A77F2 is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.5% C 0.178 H 287.4°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8A77F2
RGBrgb(138, 119, 242)
HSLhsl(249, 83%, 71%)
HSVhsv(249, 51%, 95%)
CMYKcmyk(43%, 50.8%, 0%, 5.1%)
CIE-LABlab(57.08, 36.77, -59.63)
CIE-LCHlch(57.08, 70.06, 301.66°)
OKLaboklab(64.49% 0.0532 -0.1694)
OKLCHoklch(64.49% 0.178 287.4)
XYZxyz(33.1005, 25.0065, 87.0699)
Luminance0.2501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77F2 #DFF277
analogous
#77A1F2 #8A77F2 #C777F2
triadic
#8A77F2 #F28A77 #77F28A
tetradic
#8A77F2 #F277A1 #DFF277 #77F2C7
square
#8A77F2 #F277A1 #DFF277 #77F2C7
split-complementary
#8A77F2 #F2C777 #A1F277
monochromatic
#3315DA #5A3FED #8A77F2 #BAAFF7 #E7E3FC

Accessibility & contrast

On white

3.50
#8A77F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8A77F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77F2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77F2#FFFFFF#000000##000000
##8A77F21.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#408CF6
Deuteranopia (green-blind)
#3F86EF
Tritanopia (blue-blind)
#6B91A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a77f2;
/* rgb */ color: rgb(138, 119, 242);
/* oklch */ color: oklch(64.5% 0.178 287.4);
Tailwind
colors: {
  custom: {
    50: '#b29ef7',
    500: '#8a77f2',
    950: '#000000',
  },
}
SCSS
$custom: #8a77f2;
$custom-light: #b29ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77f2",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 249.268,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64493,
    "c": 0.17758,
    "h": 287.4
  },
  "luminance": 0.25008
}

Semantic roles & 50–950 ramp

primary
#8A77F2
secondary
#EEF3D2
accent
#DF07BE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A77F2

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

Preview Lab → · Contrast checker → · Palette generator →

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