#8A76F4#8A76F4

#8A76F4 is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.4% C 0.182 H 287.5°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8A76F4
RGBrgb(138, 118, 244)
HSLhsl(250, 85%, 71%)
HSVhsv(250, 52%, 96%)
CMYKcmyk(43.4%, 51.6%, 0%, 4.3%)
CIE-LABlab(56.97, 37.91, -60.93)
CIE-LCHlch(56.97, 71.76, 301.89°)
OKLaboklab(64.45% 0.0545 -0.1732)
OKLCHoklch(64.45% 0.182 287.5)
XYZxyz(33.2841, 24.8905, 88.6210)
Luminance0.2489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76F4 #E0F476
analogous
#76A1F4 #8A76F4 #C976F4
triadic
#8A76F4 #F48A76 #76F48A
tetradic
#8A76F4 #F476A1 #E0F476 #76F4C9
square
#8A76F4 #F476A1 #E0F476 #76F4C9
split-complementary
#8A76F4 #F4C976 #A1F476
monochromatic
#3212DE #5A3DEF #8A76F4 #BAAFF9 #E7E3FD

Accessibility & contrast

On white

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

On black

5.98
#8A76F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76F4
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76F4#FFFFFF#000000##000000
##8A76F41.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8CF8
Deuteranopia (green-blind)
#3B85F1
Tritanopia (blue-blind)
#6A91AA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a76f4;
/* rgb */ color: rgb(138, 118, 244);
/* oklch */ color: oklch(64.4% 0.182 287.5);
Tailwind
colors: {
  custom: {
    50: '#b29ef8',
    500: '#8a76f4',
    950: '#000000',
  },
}
SCSS
$custom: #8a76f4;
$custom-light: #b29ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76f4",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 244
  },
  "hsl": {
    "h": 249.524,
    "s": 85.135,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64446,
    "c": 0.18159,
    "h": 287.5
  },
  "luminance": 0.24892
}

Semantic roles & 50–950 ramp

primary
#8A76F4
secondary
#EEF4D2
accent
#E204BE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A76F4

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

Preview Lab → · Contrast checker → · Palette generator →

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