#8A95E7#8A95E7

#8A95E7 is a light, vivid blue. Relative luminance 0.327; OKLCH L 69.5% C 0.121 H 276.9°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8A95E7
RGBrgb(138, 149, 231)
HSLhsl(233, 66%, 72%)
HSVhsv(233, 40%, 91%)
CMYKcmyk(40.3%, 35.5%, 0%, 9.4%)
CIE-LABlab(63.89, 16.23, -42.74)
CIE-LCHlch(63.89, 45.72, 290.79°)
OKLaboklab(69.47% 0.0146 -0.1199)
OKLCHoklch(69.47% 0.121 276.9)
XYZxyz(35.6482, 32.6661, 80.0127)
Luminance0.3267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A95E7 #E7DC8A
analogous
#8AC4E7 #8A95E7 #AD8AE7
triadic
#8A95E7 #E78A95 #95E78A
tetradic
#8A95E7 #E78AC4 #E7DC8A #8AE7AD
square
#8A95E7 #E78AC4 #E7DC8A #8AE7AD
split-complementary
#8A95E7 #E7AD8A #C4E78A
monochromatic
#2A3DCD #5767DD #8A95E7 #BDC3F1 #E6E8FA

Accessibility & contrast

On white

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

On black

7.53
#8A95E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A95E7
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A95E7#FFFFFF#000000##000000
##8A95E71.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#799FEA
Deuteranopia (green-blind)
#7297E5
Tritanopia (blue-blind)
#6DA5B3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8a95e7;
/* rgb */ color: rgb(138, 149, 231);
/* oklch */ color: oklch(69.5% 0.121 276.9);
Tailwind
colors: {
  custom: {
    50: '#afb4ef',
    500: '#8a95e7',
    950: '#000000',
  },
}
SCSS
$custom: #8a95e7;
$custom-light: #afb4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a95e7",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 231
  },
  "hsl": {
    "h": 232.903,
    "s": 65.957,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69474,
    "c": 0.12084,
    "h": 276.9
  },
  "luminance": 0.32668
}

Semantic roles & 50–950 ramp

primary
#8A95E7
secondary
#F1EEDA
accent
#B818CE
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A95E7

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

Preview Lab → · Contrast checker → · Palette generator →

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