#8A76F5#8A76F5

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

Color values

HEX#8A76F5
RGBrgb(138, 118, 245)
HSLhsl(249, 86%, 71%)
HSVhsv(249, 52%, 96%)
CMYKcmyk(43.7%, 51.8%, 0%, 3.9%)
CIE-LABlab(57.03, 38.19, -61.38)
CIE-LCHlch(57.03, 72.29, 301.89°)
OKLaboklab(64.51% 0.0546 -0.1746)
OKLCHoklch(64.51% 0.183 287.4)
XYZxyz(33.4364, 24.9514, 89.4228)
Luminance0.2495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76F5 #E1F576
analogous
#76A1F5 #8A76F5 #C976F5
triadic
#8A76F5 #F58A76 #76F58A
tetradic
#8A76F5 #F576A1 #E1F576 #76F5C9
square
#8A76F5 #F576A1 #E1F576 #76F5C9
split-complementary
#8A76F5 #F5C976 #A1F576
monochromatic
#3110E0 #593DF1 #8A76F5 #BBAFF9 #E7E2FD

Accessibility & contrast

On white

3.51
#8A76F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#8A76F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76F5
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76F5#FFFFFF#000000##000000
##8A76F51.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8CF9
Deuteranopia (green-blind)
#3985F2
Tritanopia (blue-blind)
#6991AA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a76f5;
/* rgb */ color: rgb(138, 118, 245);
/* oklch */ color: oklch(64.5% 0.183 287.4);
Tailwind
colors: {
  custom: {
    50: '#b29ef9',
    500: '#8a76f5',
    950: '#000000',
  },
}
SCSS
$custom: #8a76f5;
$custom-light: #b29ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76f5",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 245
  },
  "hsl": {
    "h": 249.449,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.64509,
    "c": 0.18289,
    "h": 287.4
  },
  "luminance": 0.24953
}

Semantic roles & 50–950 ramp

primary
#8A76F5
secondary
#EFF4D3
accent
#E303C0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A76F5

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

Preview Lab → · Contrast checker → · Palette generator →

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