#8A95F8#8A95F8

#8A95F8 is a light, vivid blue. Relative luminance 0.337; OKLCH L 70.4% C 0.145 H 277.2°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8A95F8
RGBrgb(138, 149, 248)
HSLhsl(234, 89%, 76%)
HSVhsv(234, 44%, 97%)
CMYKcmyk(44.4%, 39.9%, 0%, 2.7%)
CIE-LABlab(64.70, 21.02, -50.81)
CIE-LCHlch(64.70, 54.98, 292.48°)
OKLaboklab(70.36% 0.0181 -0.1434)
OKLCHoklch(70.36% 0.145 277.2)
XYZxyz(38.1668, 33.6735, 93.2773)
Luminance0.3367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A95F8 #F8ED8A
analogous
#8ACCF8 #8A95F8 #B68AF8
triadic
#8A95F8 #F88A95 #95F88A
tetradic
#8A95F8 #F88ACC #F8ED8A #8AF8B6
square
#8A95F8 #F88ACC #F8ED8A #8AF8B6
split-complementary
#8A95F8 #F8B68A #CCF88A
monochromatic
#172CF1 #5061F5 #8A95F8 #C4C9FB #E2E5FD

Accessibility & contrast

On white

2.71
#8A95F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#8A95F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A95F8
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A95F8#FFFFFF#000000##000000
##8A95F81.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FC
Deuteranopia (green-blind)
#6899F6
Tritanopia (blue-blind)
#64A9BB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a95f8;
/* rgb */ color: rgb(138, 149, 248);
/* oklch */ color: oklch(70.4% 0.145 277.2);
Tailwind
colors: {
  custom: {
    50: '#b1b4fb',
    500: '#8a95f8',
    950: '#000000',
  },
}
SCSS
$custom: #8a95f8;
$custom-light: #b1b4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a95f8",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 248
  },
  "hsl": {
    "h": 234,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70364,
    "c": 0.14457,
    "h": 277.2
  },
  "luminance": 0.33675
}

Semantic roles & 50–950 ramp

primary
#8A95F8
secondary
#F5F2D6
accent
#CE00E5
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A95F8

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

Preview Lab → · Contrast checker → · Palette generator →

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