#8A8FE9#8A8FE9

#8A8FE9 is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.4% C 0.132 H 279.9°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8A8FE9
RGBrgb(138, 143, 233)
HSLhsl(237, 68%, 73%)
HSVhsv(237, 41%, 91%)
CMYKcmyk(40.8%, 38.6%, 0%, 8.6%)
CIE-LABlab(62.45, 20.27, -46.11)
CIE-LCHlch(62.45, 50.37, 293.73°)
OKLaboklab(68.4% 0.0226 -0.1298)
OKLCHoklch(68.4% 0.132 279.9)
XYZxyz(35.0074, 30.9299, 81.2005)
Luminance0.3093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FE9 #E9E48A
analogous
#8ABEE9 #8A8FE9 #B48AE9
triadic
#8A8FE9 #E98A8F #8FE98A
tetradic
#8A8FE9 #E98ABE #E9E48A #8AE9B4
square
#8A8FE9 #E98ABE #E9E48A #8AE9B4
split-complementary
#8A8FE9 #E9B48A #BEE98A
monochromatic
#2730D1 #565EDF #8A8FE9 #BEC0F3 #E5E6FA

Accessibility & contrast

On white

2.92
#8A8FE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#8A8FE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FE9
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FE9#FFFFFF#000000##000000
##8A8FE91.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#709BED
Deuteranopia (green-blind)
#6A94E7
Tritanopia (blue-blind)
#6DA1B1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a8fe9;
/* rgb */ color: rgb(138, 143, 233);
/* oklch */ color: oklch(68.4% 0.132 279.9);
Tailwind
colors: {
  custom: {
    50: '#b0aff0',
    500: '#8a8fe9',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fe9;
$custom-light: #b0aff0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fe9",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 233
  },
  "hsl": {
    "h": 236.842,
    "s": 68.345,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68398,
    "c": 0.13173,
    "h": 279.9
  },
  "luminance": 0.30931
}

Semantic roles & 50–950 ramp

primary
#8A8FE9
secondary
#F2F0D9
accent
#C615D0
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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