#8A8BFB#8A8BFB

#8A8BFB is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.6% C 0.162 H 280.9°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8A8BFB
RGBrgb(138, 139, 251)
HSLhsl(239, 93%, 76%)
HSVhsv(239, 45%, 98%)
CMYKcmyk(45%, 44.6%, 0%, 1.6%)
CIE-LABlab(62.37, 27.70, -56.16)
CIE-LCHlch(62.37, 62.62, 296.25°)
OKLaboklab(68.63% 0.0305 -0.1591)
OKLCHoklch(68.63% 0.162 280.9)
XYZxyz(37.1212, 30.8318, 95.2432)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BFB #FBFA8A
analogous
#8AC4FB #8A8BFB #C28AFB
triadic
#8A8BFB #FB8A8B #8BFB8A
tetradic
#8A8BFB #FB8AC4 #FBFA8A #8AFBC2
square
#8A8BFB #FB8AC4 #FBFA8A #8AFBC2
split-complementary
#8A8BFB #FBC28A #C4FB8A
monochromatic
#1416F7 #4F50F9 #8A8BFB #C5C6FD #E1E2FE

Accessibility & contrast

On white

2.93
#8A8BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#8A8BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8BFB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BFB#FFFFFF#000000##000000
##8A8BFB1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#5793F8
Tritanopia (blue-blind)
#64A2B7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a8bfb;
/* rgb */ color: rgb(138, 139, 251);
/* oklch */ color: oklch(68.6% 0.162 280.9);
Tailwind
colors: {
  custom: {
    50: '#b2acfd',
    500: '#8a8bfb',
    950: '#000000',
  },
}
SCSS
$custom: #8a8bfb;
$custom-light: #b2acfd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8bfb",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 239.469,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.68633,
    "c": 0.16204,
    "h": 280.9
  },
  "luminance": 0.30834
}

Semantic roles & 50–950 ramp

primary
#8A8BFB
secondary
#F6F6D5
accent
#E300E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #8A8BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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