#8A76F6#8A76F6

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

Color values

HEX#8A76F6
RGBrgb(138, 118, 246)
HSLhsl(249, 88%, 71%)
HSVhsv(249, 52%, 96%)
CMYKcmyk(43.9%, 52%, 0%, 3.5%)
CIE-LABlab(57.09, 38.47, -61.84)
CIE-LCHlch(57.09, 72.83, 301.88°)
OKLaboklab(64.57% 0.0546 -0.1759)
OKLCHoklch(64.57% 0.184 287.2)
XYZxyz(33.5895, 25.0126, 90.2290)
Luminance0.2501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76F6 #E2F676
analogous
#76A2F6 #8A76F6 #CA76F6
triadic
#8A76F6 #F68A76 #76F68A
tetradic
#8A76F6 #F676A2 #E2F676 #76F6CA
square
#8A76F6 #F676A2 #E2F676 #76F6CA
split-complementary
#8A76F6 #F6CA76 #A2F676
monochromatic
#300FE3 #593DF2 #8A76F6 #BBAFFA #E6E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A76F6#FFFFFF#000000##000000
##8A76F61.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)
#398CFA
Deuteranopia (green-blind)
#3886F3
Tritanopia (blue-blind)
#6991AB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a76f6;
/* rgb */ color: rgb(138, 118, 246);
/* oklch */ color: oklch(64.6% 0.184 287.2);
Tailwind
colors: {
  custom: {
    50: '#b29efa',
    500: '#8a76f6',
    950: '#000000',
  },
}
SCSS
$custom: #8a76f6;
$custom-light: #b29efa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76f6",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 246
  },
  "hsl": {
    "h": 249.375,
    "s": 87.671,
    "l": 71.373
  },
  "oklch": {
    "l": 0.64573,
    "c": 0.1842,
    "h": 287.2
  },
  "luminance": 0.25014
}

Semantic roles & 50–950 ramp

primary
#8A76F6
secondary
#EFF5D3
accent
#E401C1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A76F6

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

Preview Lab → · Contrast checker → · Palette generator →

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