#8A8FF1#8A8FF1

#8A8FF1 is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.8% C 0.143 H 279.7°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8A8FF1
RGBrgb(138, 143, 241)
HSLhsl(237, 79%, 74%)
HSVhsv(237, 43%, 95%)
CMYKcmyk(42.7%, 40.7%, 0%, 5.5%)
CIE-LABlab(62.84, 22.52, -49.91)
CIE-LCHlch(62.84, 54.75, 294.28°)
OKLaboklab(68.83% 0.0241 -0.1408)
OKLCHoklch(68.83% 0.143 279.7)
XYZxyz(36.1762, 31.3974, 87.3562)
Luminance0.3140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FF1 #F1EC8A
analogous
#8AC3F1 #8A8FF1 #B98AF1
triadic
#8A8FF1 #F18A8F #8FF18A
tetradic
#8A8FF1 #F18AC3 #F1EC8A #8AF1B9
square
#8A8FF1 #F18AC3 #F1EC8A #8AF1B9
split-complementary
#8A8FF1 #F1B98A #C3F18A
monochromatic
#1D26E4 #535BEA #8A8FF1 #C1C3F8 #E4E5FC

Accessibility & contrast

On white

2.88
#8A8FF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#8A8FF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FF1
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FF1#FFFFFF#000000##000000
##8A8FF11.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9CF5
Deuteranopia (green-blind)
#6594EF
Tritanopia (blue-blind)
#69A3B4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a8ff1;
/* rgb */ color: rgb(138, 143, 241);
/* oklch */ color: oklch(68.8% 0.143 279.7);
Tailwind
colors: {
  custom: {
    50: '#b0aff6',
    500: '#8a8ff1',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ff1;
$custom-light: #b0aff6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ff1",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 241
  },
  "hsl": {
    "h": 237.087,
    "s": 78.626,
    "l": 74.314
  },
  "oklch": {
    "l": 0.68827,
    "c": 0.14288,
    "h": 279.7
  },
  "luminance": 0.31399
}

Semantic roles & 50–950 ramp

primary
#8A8FF1
secondary
#F4F2D7
accent
#D10BDB
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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