#8A93E2#8A93E2

#8A93E2 is a light, moderate blue. Relative luminance 0.318; OKLCH L 68.8% C 0.116 H 277.9°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8A93E2
RGBrgb(138, 147, 226)
HSLhsl(234, 60%, 71%)
HSVhsv(234, 39%, 89%)
CMYKcmyk(38.9%, 35%, 0%, 11.4%)
CIE-LABlab(63.14, 16.00, -41.14)
CIE-LCHlch(63.14, 44.15, 291.26°)
OKLaboklab(68.83% 0.016 -0.1153)
OKLCHoklch(68.83% 0.116 277.9)
XYZxyz(34.6384, 31.7603, 76.2420)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A93E2 #E2D98A
analogous
#8ABFE2 #8A93E2 #AD8AE2
triadic
#8A93E2 #E28A93 #93E28A
tetradic
#8A93E2 #E28ABF #E2D98A #8AE2AD
square
#8A93E2 #E28ABF #E2D98A #8AE2AD
split-complementary
#8A93E2 #E2AD8A #BFE28A
monochromatic
#303FC2 #5966D6 #8A93E2 #BBC0EE #E6E8F9

Accessibility & contrast

On white

2.86
#8A93E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#8A93E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A93E2
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A93E2#FFFFFF#000000##000000
##8A93E21.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#799CE5
Deuteranopia (green-blind)
#7396E0
Tritanopia (blue-blind)
#70A3B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8a93e2;
/* rgb */ color: rgb(138, 147, 226);
/* oklch */ color: oklch(68.8% 0.116 277.9);
Tailwind
colors: {
  custom: {
    50: '#afb2eb',
    500: '#8a93e2',
    950: '#000000',
  },
}
SCSS
$custom: #8a93e2;
$custom-light: #afb2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a93e2",
  "rgb": {
    "r": 138,
    "g": 147,
    "b": 226
  },
  "hsl": {
    "h": 233.864,
    "s": 60.274,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68825,
    "c": 0.11643,
    "h": 277.9
  },
  "luminance": 0.31762
}

Semantic roles & 50–950 ramp

primary
#8A93E2
secondary
#EFEDD8
accent
#B71EC8
background
#FBFAFE
surface
#F6F5FD
border
#D0CFD5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A93E2

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

Preview Lab → · Contrast checker → · Palette generator →

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