#8A8FF5#8A8FF5

#8A8FF5 is a light, vivid blue. Relative luminance 0.316; OKLCH L 69.0% C 0.148 H 279.6°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8A8FF5
RGBrgb(138, 143, 245)
HSLhsl(237, 84%, 75%)
HSVhsv(237, 44%, 96%)
CMYKcmyk(43.7%, 41.6%, 0%, 3.9%)
CIE-LABlab(63.04, 23.65, -51.79)
CIE-LCHlch(63.04, 56.93, 294.55°)
OKLaboklab(69.05% 0.0248 -0.1463)
OKLCHoklch(69.05% 0.148 279.6)
XYZxyz(36.7802, 31.6390, 90.5374)
Luminance0.3164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FF5 #F5F08A
analogous
#8AC5F5 #8A8FF5 #BA8AF5
triadic
#8A8FF5 #F58A8F #8FF58A
tetradic
#8A8FF5 #F58AC5 #F5F08A #8AF5BA
square
#8A8FF5 #F58AC5 #F5F08A #8AF5BA
split-complementary
#8A8FF5 #F5BA8A #C5F58A
monochromatic
#1923EB #5259F0 #8A8FF5 #C2C5FA #E3E4FD

Accessibility & contrast

On white

2.87
#8A8FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#8A8FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FF5
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FF5#FFFFFF#000000##000000
##8A8FF51.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#699DF9
Deuteranopia (green-blind)
#6295F3
Tritanopia (blue-blind)
#67A4B6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8a8ff5;
/* rgb */ color: rgb(138, 143, 245);
/* oklch */ color: oklch(69.0% 0.148 279.6);
Tailwind
colors: {
  custom: {
    50: '#b1aff9',
    500: '#8a8ff5',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ff5;
$custom-light: #b1aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ff5",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 245
  },
  "hsl": {
    "h": 237.196,
    "s": 84.252,
    "l": 75.098
  },
  "oklch": {
    "l": 0.69047,
    "c": 0.14842,
    "h": 279.6
  },
  "luminance": 0.31641
}

Semantic roles & 50–950 ramp

primary
#8A8FF5
secondary
#F5F3D6
accent
#D605E1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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