#8A8FFB#8A8FFB

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

Color values

HEX#8A8FFB
RGBrgb(138, 143, 251)
HSLhsl(237, 93%, 76%)
HSVhsv(237, 45%, 98%)
CMYKcmyk(45%, 43%, 0%, 1.6%)
CIE-LABlab(63.35, 25.37, -54.59)
CIE-LCHlch(63.35, 60.20, 294.93°)
OKLaboklab(69.38% 0.0258 -0.1545)
OKLCHoklch(69.38% 0.157 279.5)
XYZxyz(37.7110, 32.0114, 95.4398)
Luminance0.3201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FFB #FBF68A
analogous
#8AC8FB #8A8FFB #BE8AFB
triadic
#8A8FFB #FB8A8F #8FFB8A
tetradic
#8A8FFB #FB8AC8 #FBF68A #8AFBBE
square
#8A8FFB #FB8AC8 #FBF68A #8AFBBE
split-complementary
#8A8FFB #FBBE8A #C8FB8A
monochromatic
#141EF7 #4F56F9 #8A8FFB #C5C8FD #E1E3FE

Accessibility & contrast

On white

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

On black

7.40
#8A8FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FFB
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FFB#FFFFFF#000000##000000
##8A8FFB1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#5D95F9
Tritanopia (blue-blind)
#63A5B9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8a8ffb;
/* rgb */ color: rgb(138, 143, 251);
/* oklch */ color: oklch(69.4% 0.157 279.5);
Tailwind
colors: {
  custom: {
    50: '#b1affd',
    500: '#8a8ffb',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ffb;
$custom-light: #b1affd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ffb",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 237.345,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.69383,
    "c": 0.15666,
    "h": 279.5
  },
  "luminance": 0.32013
}

Semantic roles & 50–950 ramp

primary
#8A8FFB
secondary
#F6F5D5
accent
#DB00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #8A8FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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