#8A93F2#8A93F2

#8A93F2 is a light, vivid blue. Relative luminance 0.327; OKLCH L 69.7% C 0.139 H 278.0°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#8A93F2
RGBrgb(138, 147, 242)
HSLhsl(235, 80%, 75%)
HSVhsv(235, 43%, 95%)
CMYKcmyk(43%, 39.3%, 0%, 5.1%)
CIE-LABlab(63.90, 20.48, -48.78)
CIE-LCHlch(63.90, 52.90, 292.77°)
OKLaboklab(69.65% 0.0194 -0.1375)
OKLCHoklch(69.65% 0.139 278)
XYZxyz(36.9371, 32.6798, 88.3487)
Luminance0.3268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A93F2 #F2E98A
analogous
#8AC7F2 #8A93F2 #B58AF2
triadic
#8A93F2 #F28A93 #93F28A
tetradic
#8A93F2 #F28AC7 #F2E98A #8AF2B5
square
#8A93F2 #F28AC7 #F2E98A #8AF2B5
split-complementary
#8A93F2 #F2B58A #C7F28A
monochromatic
#1C2DE6 #5360EC #8A93F2 #C1C6F8 #E3E6FC

Accessibility & contrast

On white

2.79
#8A93F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#8A93F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A93F2
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A93F2#FFFFFF#000000##000000
##8A93F21.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#6997F0
Tritanopia (blue-blind)
#68A6B7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8a93f2;
/* rgb */ color: rgb(138, 147, 242);
/* oklch */ color: oklch(69.7% 0.139 278.0);
Tailwind
colors: {
  custom: {
    50: '#b0b2f7',
    500: '#8a93f2',
    950: '#000000',
  },
}
SCSS
$custom: #8a93f2;
$custom-light: #b0b2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a93f2",
  "rgb": {
    "r": 138,
    "g": 147,
    "b": 242
  },
  "hsl": {
    "h": 234.808,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69653,
    "c": 0.13889,
    "h": 278
  },
  "luminance": 0.32682
}

Semantic roles & 50–950 ramp

primary
#8A93F2
secondary
#F4F1D7
accent
#CA09DC
background
#FBFAFF
surface
#F6F5FE
border
#D0CFD6
text
#111017
muted
#807F85

Preview Lab

Preview with #8A93F2

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

Preview Lab → · Contrast checker → · Palette generator →

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