#8A76FE#8A76FE

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

Color values

HEX#8A76FE
RGBrgb(138, 118, 254)
HSLhsl(249, 99%, 73%)
HSVhsv(249, 54%, 100%)
CMYKcmyk(45.7%, 53.5%, 0%, 0.4%)
CIE-LABlab(57.57, 40.72, -65.48)
CIE-LCHlch(57.57, 77.11, 301.88°)
OKLaboklab(65.09% 0.0549 -0.1866)
OKLCHoklch(65.09% 0.195 286.4)
XYZxyz(34.8439, 25.5144, 96.8355)
Luminance0.2552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76FE #EAFE76
analogous
#76A6FE #8A76FE #CE76FE
triadic
#8A76FE #FE8A76 #76FE8A
tetradic
#8A76FE #FE76A6 #EAFE76 #76FECE
square
#8A76FE #FE76A6 #EAFE76 #76FECE
split-complementary
#8A76FE #FECE76 #A6FE76
monochromatic
#2602F8 #5639FE #8A76FE #BEB3FE #E5E1FF

Accessibility & contrast

On white

3.44
#8A76FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#8A76FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76FE
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76FE#FFFFFF#000000##000000
##8A76FE1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8EFF
Deuteranopia (green-blind)
#2A86FB
Tritanopia (blue-blind)
#6494AF
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a76fe;
/* rgb */ color: rgb(138, 118, 254);
/* oklch */ color: oklch(65.1% 0.195 286.4);
Tailwind
colors: {
  custom: {
    50: '#b39eff',
    500: '#8a76fe',
    950: '#000000',
  },
}
SCSS
$custom: #8a76fe;
$custom-light: #b39eff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76fe",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 254
  },
  "hsl": {
    "h": 248.824,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.6509,
    "c": 0.19454,
    "h": 286.4
  },
  "luminance": 0.25516
}

Semantic roles & 50–950 ramp

primary
#8A76FE
secondary
#F2F7D4
accent
#E600C4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A76FE

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

Preview Lab → · Contrast checker → · Palette generator →

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