#8A8FF4#8A8FF4

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

Color values

HEX#8A8FF4
RGBrgb(138, 143, 244)
HSLhsl(237, 83%, 75%)
HSVhsv(237, 43%, 96%)
CMYKcmyk(43.4%, 41.4%, 0%, 4.3%)
CIE-LABlab(62.99, 23.37, -51.32)
CIE-LCHlch(62.99, 56.39, 294.48°)
OKLaboklab(68.99% 0.0247 -0.145)
OKLCHoklch(68.99% 0.147 279.7)
XYZxyz(36.6280, 31.5781, 89.7356)
Luminance0.3158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FF4 #F4EF8A
analogous
#8AC4F4 #8A8FF4 #BA8AF4
triadic
#8A8FF4 #F48A8F #8FF48A
tetradic
#8A8FF4 #F48AC4 #F4EF8A #8AF4BA
square
#8A8FF4 #F48AC4 #F4EF8A #8AF4BA
split-complementary
#8A8FF4 #F4BA8A #C4F48A
monochromatic
#1A24E9 #5259EF #8A8FF4 #C2C5F9 #E3E4FC

Accessibility & contrast

On white

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

On black

7.32
#8A8FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FF4
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FF4#FFFFFF#000000##000000
##8A8FF41.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#699DF8
Deuteranopia (green-blind)
#6395F2
Tritanopia (blue-blind)
#67A4B6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a8ff4;
/* rgb */ color: rgb(138, 143, 244);
/* oklch */ color: oklch(69.0% 0.147 279.7);
Tailwind
colors: {
  custom: {
    50: '#b1aff8',
    500: '#8a8ff4',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ff4;
$custom-light: #b1aff8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ff4",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 244
  },
  "hsl": {
    "h": 237.17,
    "s": 82.813,
    "l": 74.902
  },
  "oklch": {
    "l": 0.68992,
    "c": 0.14704,
    "h": 279.7
  },
  "luminance": 0.3158
}

Semantic roles & 50–950 ramp

primary
#8A8FF4
secondary
#F4F3D7
accent
#D506DF
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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