#8A91F2#8A91F2

#8A91F2 is a light, vivid blue. Relative luminance 0.321; OKLCH L 69.3% C 0.142 H 278.9°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8A91F2
RGBrgb(138, 145, 242)
HSLhsl(236, 80%, 75%)
HSVhsv(236, 43%, 95%)
CMYKcmyk(43%, 40.1%, 0%, 5.1%)
CIE-LABlab(63.40, 21.64, -49.58)
CIE-LCHlch(63.40, 54.10, 293.58°)
OKLaboklab(69.27% 0.0219 -0.1399)
OKLCHoklch(69.27% 0.142 278.9)
XYZxyz(36.6289, 32.0632, 88.2460)
Luminance0.3206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A91F2 #F2EB8A
analogous
#8AC5F2 #8A91F2 #B78AF2
triadic
#8A91F2 #F28A91 #91F28A
tetradic
#8A91F2 #F28AC5 #F2EB8A #8AF2B7
square
#8A91F2 #F28AC5 #F2EB8A #8AF2B7
split-complementary
#8A91F2 #F2B78A #C5F28A
monochromatic
#1C29E6 #535DEC #8A91F2 #C1C5F8 #E3E5FC

Accessibility & contrast

On white

2.83
#8A91F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#8A91F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A91F2
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A91F2#FFFFFF#000000##000000
##8A91F21.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#6796F0
Tritanopia (blue-blind)
#68A5B6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8a91f2;
/* rgb */ color: rgb(138, 145, 242);
/* oklch */ color: oklch(69.3% 0.142 278.9);
Tailwind
colors: {
  custom: {
    50: '#b1b1f7',
    500: '#8a91f2',
    950: '#000000',
  },
}
SCSS
$custom: #8a91f2;
$custom-light: #b1b1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a91f2",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 242
  },
  "hsl": {
    "h": 235.962,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69267,
    "c": 0.14157,
    "h": 278.9
  },
  "luminance": 0.32065
}

Semantic roles & 50–950 ramp

primary
#8A91F2
secondary
#F4F2D7
accent
#CE09DC
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A91F2

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

Preview Lab → · Contrast checker → · Palette generator →

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