#8A76FA#8A76FA

#8A76FA is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.8% C 0.189 H 286.8°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8A76FA
RGBrgb(138, 118, 250)
HSLhsl(249, 93%, 72%)
HSVhsv(249, 53%, 98%)
CMYKcmyk(44.8%, 52.8%, 0%, 2%)
CIE-LABlab(57.33, 39.59, -63.67)
CIE-LCHlch(57.33, 74.98, 301.88°)
OKLaboklab(64.83% 0.0548 -0.1813)
OKLCHoklch(64.83% 0.189 286.8)
XYZxyz(34.2100, 25.2609, 93.4972)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76FA #E6FA76
analogous
#76A4FA #8A76FA #CC76FA
triadic
#8A76FA #FA8A76 #76FA8A
tetradic
#8A76FA #FA76A4 #E6FA76 #76FACC
square
#8A76FA #FA76A4 #E6FA76 #76FACC
split-complementary
#8A76FA #FACC76 #A4FA76
monochromatic
#2B09ED #583BF8 #8A76FA #BCB1FC #E6E1FE

Accessibility & contrast

On white

3.47
#8A76FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#8A76FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76FA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76FA#FFFFFF#000000##000000
##8A76FA1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#338DFF
Deuteranopia (green-blind)
#3286F7
Tritanopia (blue-blind)
#6793AD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a76fa;
/* rgb */ color: rgb(138, 118, 250);
/* oklch */ color: oklch(64.8% 0.189 286.8);
Tailwind
colors: {
  custom: {
    50: '#b29efd',
    500: '#8a76fa',
    950: '#000000',
  },
}
SCSS
$custom: #8a76fa;
$custom-light: #b29efd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76fa",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 250
  },
  "hsl": {
    "h": 249.091,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.6483,
    "c": 0.18938,
    "h": 286.8
  },
  "luminance": 0.25262
}

Semantic roles & 50–950 ramp

primary
#8A76FA
secondary
#F1F6D5
accent
#E600C3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8A76FA

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

Preview Lab → · Contrast checker → · Palette generator →

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