#8A76FC#8A76FC

#8A76FC is a light, vivid blue. Relative luminance 0.254; OKLCH L 65.0% C 0.192 H 286.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8A76FC
RGBrgb(138, 118, 252)
HSLhsl(249, 96%, 73%)
HSVhsv(249, 53%, 99%)
CMYKcmyk(45.2%, 53.2%, 0%, 1.2%)
CIE-LABlab(57.45, 40.16, -64.58)
CIE-LCHlch(57.45, 76.04, 301.88°)
OKLaboklab(64.96% 0.0549 -0.1839)
OKLCHoklch(64.96% 0.192 286.6)
XYZxyz(34.5253, 25.3870, 95.1576)
Luminance0.2539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76FC #E8FC76
analogous
#76A5FC #8A76FC #CD76FC
triadic
#8A76FC #FC8A76 #76FC8A
tetradic
#8A76FC #FC76A5 #E8FC76 #76FCCD
square
#8A76FC #FC76A5 #E8FC76 #76FCCD
split-complementary
#8A76FC #FCCD76 #A5FC76
monochromatic
#2905F2 #573AFB #8A76FC #BDB2FD #E5E1FE

Accessibility & contrast

On white

3.46
#8A76FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#8A76FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76FC
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76FC#FFFFFF#000000##000000
##8A76FC1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#308DFF
Deuteranopia (green-blind)
#2E86F9
Tritanopia (blue-blind)
#6593AE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a76fc;
/* rgb */ color: rgb(138, 118, 252);
/* oklch */ color: oklch(65.0% 0.192 286.6);
Tailwind
colors: {
  custom: {
    50: '#b39efe',
    500: '#8a76fc',
    950: '#000000',
  },
}
SCSS
$custom: #8a76fc;
$custom-light: #b39efe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76fc",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 252
  },
  "hsl": {
    "h": 248.955,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.6496,
    "c": 0.19196,
    "h": 286.6
  },
  "luminance": 0.25388
}

Semantic roles & 50–950 ramp

primary
#8A76FC
secondary
#F1F7D4
accent
#E600C3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A76FC

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

Preview Lab → · Contrast checker → · Palette generator →

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