#8A8FE7#8A8FE7

#8A8FE7 is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.3% C 0.129 H 279.9°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8A8FE7
RGBrgb(138, 143, 231)
HSLhsl(237, 66%, 72%)
HSVhsv(237, 40%, 91%)
CMYKcmyk(40.3%, 38.1%, 0%, 9.4%)
CIE-LABlab(62.35, 19.71, -45.16)
CIE-LCHlch(62.35, 49.27, 293.58°)
OKLaboklab(68.29% 0.0222 -0.127)
OKLCHoklch(68.29% 0.129 279.9)
XYZxyz(34.7233, 30.8163, 79.7044)
Luminance0.3082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FE7 #E7E28A
analogous
#8ABEE7 #8A8FE7 #B38AE7
triadic
#8A8FE7 #E78A8F #8FE78A
tetradic
#8A8FE7 #E78ABE #E7E28A #8AE7B3
square
#8A8FE7 #E78ABE #E7E28A #8AE7B3
split-complementary
#8A8FE7 #E7B38A #BEE78A
monochromatic
#2A33CD #575EDD #8A8FE7 #BDC0F1 #E6E7FA

Accessibility & contrast

On white

2.93
#8A8FE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#8A8FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FE7
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FE7#FFFFFF#000000##000000
##8A8FE71.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#719AEA
Deuteranopia (green-blind)
#6B93E5
Tritanopia (blue-blind)
#6EA0B0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a8fe7;
/* rgb */ color: rgb(138, 143, 231);
/* oklch */ color: oklch(68.3% 0.129 279.9);
Tailwind
colors: {
  custom: {
    50: '#b0afef',
    500: '#8a8fe7',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fe7;
$custom-light: #b0afef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fe7",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 231
  },
  "hsl": {
    "h": 236.774,
    "s": 65.957,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68293,
    "c": 0.12892,
    "h": 279.9
  },
  "luminance": 0.30818
}

Semantic roles & 50–950 ramp

primary
#8A8FE7
secondary
#F1F0DA
accent
#C418CE
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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