#8A76FB#8A76FB

#8A76FB is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.9% C 0.191 H 286.7°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8A76FB
RGBrgb(138, 118, 251)
HSLhsl(249, 94%, 72%)
HSVhsv(249, 53%, 98%)
CMYKcmyk(45%, 53%, 0%, 1.6%)
CIE-LABlab(57.39, 39.88, -64.12)
CIE-LCHlch(57.39, 75.51, 301.88°)
OKLaboklab(64.9% 0.0548 -0.1826)
OKLCHoklch(64.9% 0.191 286.7)
XYZxyz(34.3672, 25.3238, 94.3252)
Luminance0.2532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76FB #E7FB76
analogous
#76A4FB #8A76FB #CD76FB
triadic
#8A76FB #FB8A76 #76FB8A
tetradic
#8A76FB #FB76A4 #E7FB76 #76FBCD
square
#8A76FB #FB76A4 #E7FB76 #76FBCD
split-complementary
#8A76FB #FBCD76 #A4FB76
monochromatic
#2A07F0 #573BF9 #8A76FB #BDB1FD #E6E1FE

Accessibility & contrast

On white

3.46
#8A76FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#8A76FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76FB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76FB#FFFFFF#000000##000000
##8A76FB1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#328DFF
Deuteranopia (green-blind)
#3086F8
Tritanopia (blue-blind)
#6693AD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a76fb;
/* rgb */ color: rgb(138, 118, 251);
/* oklch */ color: oklch(64.9% 0.191 286.7);
Tailwind
colors: {
  custom: {
    50: '#b29efd',
    500: '#8a76fb',
    950: '#000000',
  },
}
SCSS
$custom: #8a76fb;
$custom-light: #b29efd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76fb",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 251
  },
  "hsl": {
    "h": 249.023,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.64895,
    "c": 0.19067,
    "h": 286.7
  },
  "luminance": 0.25325
}

Semantic roles & 50–950 ramp

primary
#8A76FB
secondary
#F1F6D5
accent
#E600C3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8A76FB

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

Preview Lab → · Contrast checker → · Palette generator →

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