#8A9FF2#8A9FF2

#8A9FF2 is a light, vivid blue. Relative luminance 0.366; OKLCH L 72.0% C 0.123 H 272.2°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#8A9FF2
RGBrgb(138, 159, 242)
HSLhsl(228, 80%, 75%)
HSVhsv(228, 43%, 95%)
CMYKcmyk(43%, 34.3%, 0%, 5.1%)
CIE-LABlab(66.98, 13.55, -43.93)
CIE-LCHlch(66.98, 45.97, 287.14°)
OKLaboklab(72.02% 0.0047 -0.1234)
OKLCHoklch(72.02% 0.123 272.2)
XYZxyz(38.9014, 36.6083, 89.0035)
Luminance0.3661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9FF2 #F2DD8A
analogous
#8AD3F2 #8A9FF2 #A98AF2
triadic
#8A9FF2 #F28A9F #9FF28A
tetradic
#8A9FF2 #F28AD3 #F2DD8A #8AF2A9
square
#8A9FF2 #F28AD3 #F2DD8A #8AF2A9
split-complementary
#8A9FF2 #F2A98A #D3F28A
monochromatic
#1C45E6 #5372EC #8A9FF2 #C1CCF8 #E3E8FC

Accessibility & contrast

On white

2.52
#8A9FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#8A9FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9FF2
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9FF2#FFFFFF#000000##000000
##8A9FF21.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A8F5
Deuteranopia (green-blind)
#789FF0
Tritanopia (blue-blind)
#66B0BD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8a9ff2;
/* rgb */ color: rgb(138, 159, 242);
/* oklch */ color: oklch(72.0% 0.123 272.2);
Tailwind
colors: {
  custom: {
    50: '#b0bbf6',
    500: '#8a9ff2',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ff2;
$custom-light: #b0bbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ff2",
  "rgb": {
    "r": 138,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 227.885,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72023,
    "c": 0.12346,
    "h": 272.2
  },
  "luminance": 0.3661
}

Semantic roles & 50–950 ramp

primary
#8A9FF2
secondary
#F4EED7
accent
#B209DC
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#111117
muted
#808085

Preview Lab

Preview with #8A9FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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