#8A76F8#8A76F8

#8A76F8 is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.7% C 0.187 H 287.0°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8A76F8
RGBrgb(138, 118, 248)
HSLhsl(249, 90%, 72%)
HSVhsv(249, 52%, 97%)
CMYKcmyk(44.4%, 52.4%, 0%, 2.7%)
CIE-LABlab(57.21, 39.03, -62.76)
CIE-LCHlch(57.21, 73.90, 301.88°)
OKLaboklab(64.7% 0.0547 -0.1786)
OKLCHoklch(64.7% 0.187 287)
XYZxyz(33.8981, 25.1361, 91.8544)
Luminance0.2514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76F8 #E4F876
analogous
#76A3F8 #8A76F8 #CB76F8
triadic
#8A76F8 #F88A76 #76F88A
tetradic
#8A76F8 #F876A3 #E4F876 #76F8CB
square
#8A76F8 #F876A3 #E4F876 #76F8CB
split-complementary
#8A76F8 #F8CB76 #A3F876
monochromatic
#2E0CE8 #583CF5 #8A76F8 #BCB0FB #E6E2FE

Accessibility & contrast

On white

3.48
#8A76F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#8A76F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76F8
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76F8#FFFFFF#000000##000000
##8A76F81.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#368DFC
Deuteranopia (green-blind)
#3586F5
Tritanopia (blue-blind)
#6892AC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a76f8;
/* rgb */ color: rgb(138, 118, 248);
/* oklch */ color: oklch(64.7% 0.187 287.0);
Tailwind
colors: {
  custom: {
    50: '#b29efb',
    500: '#8a76f8',
    950: '#000000',
  },
}
SCSS
$custom: #8a76f8;
$custom-light: #b29efb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76f8",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 248
  },
  "hsl": {
    "h": 249.231,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.64701,
    "c": 0.18679,
    "h": 287
  },
  "luminance": 0.25137
}

Semantic roles & 50–950 ramp

primary
#8A76F8
secondary
#F0F5D4
accent
#E600C2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A76F8

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

Preview Lab → · Contrast checker → · Palette generator →

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