#8A7AF9#8A7AF9

#8A7AF9 is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.5% C 0.183 H 285.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8A7AF9
RGBrgb(138, 122, 249)
HSLhsl(248, 91%, 73%)
HSVhsv(248, 51%, 98%)
CMYKcmyk(44.6%, 51%, 0%, 2.4%)
CIE-LABlab(58.19, 37.01, -61.73)
CIE-LCHlch(58.19, 71.98, 300.94°)
OKLaboklab(65.45% 0.0502 -0.1756)
OKLCHoklch(65.45% 0.183 285.9)
XYZxyz(34.5347, 26.1604, 92.8340)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7AF9 #E9F97A
analogous
#7AA9F9 #8A7AF9 #C97AF9
triadic
#8A7AF9 #F98A7A #7AF98A
tetradic
#8A7AF9 #F97AA9 #E9F97A #7AF9C9
square
#8A7AF9 #F97AA9 #E9F97A #7AF9C9
split-complementary
#8A7AF9 #F9C97A #A9F97A
monochromatic
#270BEE #563FF6 #8A7AF9 #BEB5FC #E5E2FE

Accessibility & contrast

On white

3.37
#8A7AF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#8A7AF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7AF9
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7AF9#FFFFFF#000000##000000
##8A7AF91.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8FFD
Deuteranopia (green-blind)
#3C88F6
Tritanopia (blue-blind)
#6795AE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a7af9;
/* rgb */ color: rgb(138, 122, 249);
/* oklch */ color: oklch(65.5% 0.183 285.9);
Tailwind
colors: {
  custom: {
    50: '#b2a0fc',
    500: '#8a7af9',
    950: '#000000',
  },
}
SCSS
$custom: #8a7af9;
$custom-light: #b2a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7af9",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 249
  },
  "hsl": {
    "h": 247.559,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.65452,
    "c": 0.1826,
    "h": 285.9
  },
  "luminance": 0.26162
}

Semantic roles & 50–950 ramp

primary
#8A7AF9
secondary
#F2F6D5
accent
#E600C9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #8A7AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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