#8A93FE#8A93FE

#8A93FE is a light, vivid blue. Relative luminance 0.334; OKLCH L 70.3% C 0.155 H 278.0°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8A93FE
RGBrgb(138, 147, 254)
HSLhsl(235, 98%, 77%)
HSVhsv(235, 46%, 100%)
CMYKcmyk(45.7%, 42.1%, 0%, 0.4%)
CIE-LABlab(64.50, 23.91, -54.40)
CIE-LCHlch(64.50, 59.43, 293.72°)
OKLaboklab(70.31% 0.0216 -0.154)
OKLCHoklch(70.31% 0.155 278)
XYZxyz(38.7989, 33.4244, 98.1539)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A93FE #FEF58A
analogous
#8ACDFE #8A93FE #BB8AFE
triadic
#8A93FE #FE8A93 #93FE8A
tetradic
#8A93FE #FE8ACD #FEF58A #8AFEBB
square
#8A93FE #FE8ACD #FEF58A #8AFEBB
split-complementary
#8A93FE #FEBB8A #CDFE8A
monochromatic
#1123FD #4D5BFD #8A93FE #C7CBFF #E1E3FF

Accessibility & contrast

On white

2.73
#8A93FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#8A93FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A93FE
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A93FE#FFFFFF#000000##000000
##8A93FE1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#6198FC
Tritanopia (blue-blind)
#61A9BC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8a93fe;
/* rgb */ color: rgb(138, 147, 254);
/* oklch */ color: oklch(70.3% 0.155 278.0);
Tailwind
colors: {
  custom: {
    50: '#b2b2ff',
    500: '#8a93fe',
    950: '#000000',
  },
}
SCSS
$custom: #8a93fe;
$custom-light: #b2b2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a93fe",
  "rgb": {
    "r": 138,
    "g": 147,
    "b": 254
  },
  "hsl": {
    "h": 235.345,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.7031,
    "c": 0.15546,
    "h": 278
  },
  "luminance": 0.33426
}

Semantic roles & 50–950 ramp

primary
#8A93FE
secondary
#F7F4D4
accent
#D400E6
background
#FBFAFF
surface
#F6F5FF
border
#D0CFD7
text
#111018
muted
#807F86

Preview Lab

Preview with #8A93FE

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

Preview Lab → · Contrast checker → · Palette generator →

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