#8A95EF#8A95EF

#8A95EF is a light, vivid blue. Relative luminance 0.331; OKLCH L 69.9% C 0.132 H 277.1°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8A95EF
RGBrgb(138, 149, 239)
HSLhsl(233, 76%, 74%)
HSVhsv(233, 42%, 94%)
CMYKcmyk(42.3%, 37.7%, 0%, 6.3%)
CIE-LABlab(64.26, 18.47, -46.56)
CIE-LCHlch(64.26, 50.09, 291.64°)
OKLaboklab(69.88% 0.0164 -0.131)
OKLCHoklch(69.88% 0.132 277.1)
XYZxyz(36.8040, 33.1284, 86.0998)
Luminance0.3313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A95EF #EFE48A
analogous
#8AC8EF #8A95EF #B28AEF
triadic
#8A95EF #EF8A95 #95EF8A
tetradic
#8A95EF #EF8AC8 #EFE48A #8AEFB2
square
#8A95EF #EF8AC8 #EFE48A #8AEFB2
split-complementary
#8A95EF #EFB28A #C8EF8A
monochromatic
#1F34E0 #5464E8 #8A95EF #C0C6F6 #E4E7FB

Accessibility & contrast

On white

2.75
#8A95EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#8A95EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A95EF
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A95EF#FFFFFF#000000##000000
##8A95EF1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F3
Deuteranopia (green-blind)
#6E98ED
Tritanopia (blue-blind)
#69A7B7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8a95ef;
/* rgb */ color: rgb(138, 149, 239);
/* oklch */ color: oklch(69.9% 0.132 277.1);
Tailwind
colors: {
  custom: {
    50: '#b0b4f4',
    500: '#8a95ef',
    950: '#000000',
  },
}
SCSS
$custom: #8a95ef;
$custom-light: #b0b4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a95ef",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 239
  },
  "hsl": {
    "h": 233.465,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69885,
    "c": 0.13207,
    "h": 277.1
  },
  "luminance": 0.3313
}

Semantic roles & 50–950 ramp

primary
#8A95EF
secondary
#F3F0D8
accent
#C20DD8
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8A95EF

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

Preview Lab → · Contrast checker → · Palette generator →

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