#8A95E4#8A95E4

#8A95E4 is a light, moderate blue. Relative luminance 0.325; OKLCH L 69.3% C 0.117 H 276.9°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8A95E4
RGBrgb(138, 149, 228)
HSLhsl(233, 63%, 72%)
HSVhsv(233, 39%, 89%)
CMYKcmyk(39.5%, 34.6%, 0%, 10.6%)
CIE-LABlab(63.75, 15.40, -41.30)
CIE-LCHlch(63.75, 44.07, 290.45°)
OKLaboklab(69.32% 0.0139 -0.1158)
OKLCHoklch(69.32% 0.117 276.9)
XYZxyz(35.2281, 32.4981, 77.8003)
Luminance0.3250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A95E4 #E4D98A
analogous
#8AC2E4 #8A95E4 #AC8AE4
triadic
#8A95E4 #E48A95 #95E48A
tetradic
#8A95E4 #E48AC2 #E4D98A #8AE4AC
square
#8A95E4 #E48AC2 #E4D98A #8AE4AC
split-complementary
#8A95E4 #E4AC8A #C2E48A
monochromatic
#2E40C6 #5868D9 #8A95E4 #BCC2EF #E6E8F9

Accessibility & contrast

On white

2.80
#8A95E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#8A95E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A95E4
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A95E4#FFFFFF#000000##000000
##8A95E41.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9EE7
Deuteranopia (green-blind)
#7497E2
Tritanopia (blue-blind)
#6EA5B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8a95e4;
/* rgb */ color: rgb(138, 149, 228);
/* oklch */ color: oklch(69.3% 0.117 276.9);
Tailwind
colors: {
  custom: {
    50: '#afb4ed',
    500: '#8a95e4',
    950: '#000000',
  },
}
SCSS
$custom: #8a95e4;
$custom-light: #afb4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a95e4",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 228
  },
  "hsl": {
    "h": 232.667,
    "s": 62.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69323,
    "c": 0.1166,
    "h": 276.9
  },
  "luminance": 0.325
}

Semantic roles & 50–950 ramp

primary
#8A95E4
secondary
#F0EED9
accent
#B51BCA
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A95E4

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

Preview Lab → · Contrast checker → · Palette generator →

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