#8A95E2#8A95E2

#8A95E2 is a light, moderate blue. Relative luminance 0.324; OKLCH L 69.2% C 0.114 H 276.8°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8A95E2
RGBrgb(138, 149, 226)
HSLhsl(233, 60%, 71%)
HSVhsv(233, 39%, 89%)
CMYKcmyk(38.9%, 34.1%, 0%, 11.4%)
CIE-LABlab(63.66, 14.85, -40.33)
CIE-LCHlch(63.66, 42.98, 290.21°)
OKLaboklab(69.22% 0.0135 -0.113)
OKLCHoklch(69.22% 0.114 276.8)
XYZxyz(34.9521, 32.3877, 76.3466)
Luminance0.3239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A95E2 #E2D78A
analogous
#8AC1E2 #8A95E2 #AB8AE2
triadic
#8A95E2 #E28A95 #95E28A
tetradic
#8A95E2 #E28AC1 #E2D78A #8AE2AB
square
#8A95E2 #E28AC1 #E2D78A #8AE2AB
split-complementary
#8A95E2 #E2AB8A #C1E28A
monochromatic
#3042C2 #5969D6 #8A95E2 #BBC1EE #E6E9F9

Accessibility & contrast

On white

2.81
#8A95E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#8A95E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A95E2
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A95E2#FFFFFF#000000##000000
##8A95E21.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9EE5
Deuteranopia (green-blind)
#7597E0
Tritanopia (blue-blind)
#6FA4B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8a95e2;
/* rgb */ color: rgb(138, 149, 226);
/* oklch */ color: oklch(69.2% 0.114 276.8);
Tailwind
colors: {
  custom: {
    50: '#afb4eb',
    500: '#8a95e2',
    950: '#000000',
  },
}
SCSS
$custom: #8a95e2;
$custom-light: #afb4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a95e2",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 226
  },
  "hsl": {
    "h": 232.5,
    "s": 60.274,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69224,
    "c": 0.11377,
    "h": 276.8
  },
  "luminance": 0.32389
}

Semantic roles & 50–950 ramp

primary
#8A95E2
secondary
#EFECD8
accent
#B31EC8
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A95E2

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

Preview Lab → · Contrast checker → · Palette generator →

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