#8A93F6#8A93F6

#8A93F6 is a light, vivid blue. Relative luminance 0.329; OKLCH L 69.9% C 0.144 H 278.0°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8A93F6
RGBrgb(138, 147, 246)
HSLhsl(235, 86%, 75%)
HSVhsv(235, 44%, 96%)
CMYKcmyk(43.9%, 40.2%, 0%, 3.5%)
CIE-LABlab(64.10, 21.61, -50.67)
CIE-LCHlch(64.10, 55.08, 293.10°)
OKLaboklab(69.87% 0.0202 -0.143)
OKLCHoklch(69.87% 0.144 278)
XYZxyz(37.5445, 32.9227, 91.5473)
Luminance0.3292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A93F6 #F6ED8A
analogous
#8AC9F6 #8A93F6 #B78AF6
triadic
#8A93F6 #F68A93 #93F68A
tetradic
#8A93F6 #F68AC9 #F6ED8A #8AF6B7
square
#8A93F6 #F68AC9 #F6ED8A #8AF6B7
split-complementary
#8A93F6 #F6B78A #C9F68A
monochromatic
#182AED #515FF2 #8A93F6 #C3C7FA #E3E5FD

Accessibility & contrast

On white

2.77
#8A93F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#8A93F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A93F6
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A93F6#FFFFFF#000000##000000
##8A93F61.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA0FA
Deuteranopia (green-blind)
#6797F4
Tritanopia (blue-blind)
#66A7B9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8a93f6;
/* rgb */ color: rgb(138, 147, 246);
/* oklch */ color: oklch(69.9% 0.144 278.0);
Tailwind
colors: {
  custom: {
    50: '#b1b2f9',
    500: '#8a93f6',
    950: '#000000',
  },
}
SCSS
$custom: #8a93f6;
$custom-light: #b1b2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a93f6",
  "rgb": {
    "r": 138,
    "g": 147,
    "b": 246
  },
  "hsl": {
    "h": 235,
    "s": 85.714,
    "l": 75.294
  },
  "oklch": {
    "l": 0.69869,
    "c": 0.14445,
    "h": 278
  },
  "luminance": 0.32925
}

Semantic roles & 50–950 ramp

primary
#8A93F6
secondary
#F5F2D6
accent
#D003E2
background
#FBFAFF
surface
#F6F5FF
border
#D0CFD7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A93F6

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

Preview Lab → · Contrast checker → · Palette generator →

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