#8A95F7#8A95F7

#8A95F7 is a light, vivid blue. Relative luminance 0.336; OKLCH L 70.3% C 0.143 H 277.2°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#8A95F7
RGBrgb(138, 149, 247)
HSLhsl(234, 87%, 75%)
HSVhsv(234, 44%, 97%)
CMYKcmyk(44.1%, 39.7%, 0%, 3.1%)
CIE-LABlab(64.65, 20.74, -50.34)
CIE-LCHlch(64.65, 54.44, 292.39°)
OKLaboklab(70.31% 0.0179 -0.1421)
OKLCHoklch(70.31% 0.143 277.2)
XYZxyz(38.0121, 33.6117, 92.4624)
Luminance0.3361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A95F7 #F7EC8A
analogous
#8ACBF7 #8A95F7 #B58AF7
triadic
#8A95F7 #F78A95 #95F78A
tetradic
#8A95F7 #F78ACB #F7EC8A #8AF7B5
square
#8A95F7 #F78ACB #F7EC8A #8AF7B5
split-complementary
#8A95F7 #F7B58A #CBF78A
monochromatic
#172DEF #5161F3 #8A95F7 #C3C9FB #E2E5FD

Accessibility & contrast

On white

2.72
#8A95F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#8A95F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A95F7
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A95F7#FFFFFF#000000##000000
##8A95F71.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A1FB
Deuteranopia (green-blind)
#6999F5
Tritanopia (blue-blind)
#65A9BA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a95f7;
/* rgb */ color: rgb(138, 149, 247);
/* oklch */ color: oklch(70.3% 0.143 277.2);
Tailwind
colors: {
  custom: {
    50: '#b1b4fa',
    500: '#8a95f7',
    950: '#000000',
  },
}
SCSS
$custom: #8a95f7;
$custom-light: #b1b4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a95f7",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 247
  },
  "hsl": {
    "h": 233.945,
    "s": 87.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7031,
    "c": 0.14319,
    "h": 277.2
  },
  "luminance": 0.33614
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A95F7

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

Preview Lab → · Contrast checker → · Palette generator →

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