#8A8FEB#8A8FEB

#8A8FEB is a light, vivid blue. Relative luminance 0.310; OKLCH L 68.5% C 0.135 H 279.8°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8A8FEB
RGBrgb(138, 143, 235)
HSLhsl(237, 71%, 73%)
HSVhsv(237, 41%, 92%)
CMYKcmyk(41.3%, 39.1%, 0%, 7.8%)
CIE-LABlab(62.55, 20.83, -47.07)
CIE-LCHlch(62.55, 51.47, 293.87°)
OKLaboklab(68.5% 0.023 -0.1325)
OKLCHoklch(68.5% 0.135 279.8)
XYZxyz(35.2947, 31.0448, 82.7137)
Luminance0.3105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FEB #EBE68A
analogous
#8ABFEB #8A8FEB #B58AEB
triadic
#8A8FEB #EB8A8F #8FEB8A
tetradic
#8A8FEB #EB8ABF #EBE68A #8AEBB5
square
#8A8FEB #EB8ABF #EBE68A #8AEBB5
split-complementary
#8A8FEB #EBB58A #BFEB8A
monochromatic
#252ED6 #565DE2 #8A8FEB #BEC1F4 #E5E6FB

Accessibility & contrast

On white

2.91
#8A8FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#8A8FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FEB
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FEB#FFFFFF#000000##000000
##8A8FEB1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEF
Deuteranopia (green-blind)
#6994E9
Tritanopia (blue-blind)
#6CA1B2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a8feb;
/* rgb */ color: rgb(138, 143, 235);
/* oklch */ color: oklch(68.5% 0.135 279.8);
Tailwind
colors: {
  custom: {
    50: '#b0aff2',
    500: '#8a8feb',
    950: '#000000',
  },
}
SCSS
$custom: #8a8feb;
$custom-light: #b0aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8feb",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 236.907,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68504,
    "c": 0.13452,
    "h": 279.8
  },
  "luminance": 0.31046
}

Semantic roles & 50–950 ramp

primary
#8A8FEB
secondary
#F2F1D9
accent
#C913D3
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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