#8A8FFA#8A8FFA

#8A8FFA is a light, vivid blue. Relative luminance 0.320; OKLCH L 69.3% C 0.155 H 279.5°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8A8FFA
RGBrgb(138, 143, 250)
HSLhsl(237, 92%, 76%)
HSVhsv(237, 45%, 98%)
CMYKcmyk(44.8%, 42.8%, 0%, 2%)
CIE-LABlab(63.30, 25.08, -54.13)
CIE-LCHlch(63.30, 59.66, 294.86°)
OKLaboklab(69.33% 0.0256 -0.1532)
OKLCHoklch(69.33% 0.155 279.5)
XYZxyz(37.5538, 31.9485, 94.6118)
Luminance0.3195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FFA #FAF58A
analogous
#8AC7FA #8A8FFA #BD8AFA
triadic
#8A8FFA #FA8A8F #8FFA8A
tetradic
#8A8FFA #FA8AC7 #FAF58A #8AFABD
square
#8A8FFA #FA8AC7 #FAF58A #8AFABD
split-complementary
#8A8FFA #FABD8A #C7FA8A
monochromatic
#151FF5 #4F57F7 #8A8FFA #C5C7FD #E2E3FE

Accessibility & contrast

On white

2.84
#8A8FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#8A8FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FFA
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FFA#FFFFFF#000000##000000
##8A8FFA1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFE
Deuteranopia (green-blind)
#5E95F8
Tritanopia (blue-blind)
#64A5B8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8a8ffa;
/* rgb */ color: rgb(138, 143, 250);
/* oklch */ color: oklch(69.3% 0.155 279.5);
Tailwind
colors: {
  custom: {
    50: '#b1affc',
    500: '#8a8ffa',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ffa;
$custom-light: #b1affc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ffa",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 250
  },
  "hsl": {
    "h": 237.321,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.69326,
    "c": 0.15529,
    "h": 279.5
  },
  "luminance": 0.3195
}

Semantic roles & 50–950 ramp

primary
#8A8FFA
secondary
#F6F4D5
accent
#DB00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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