#8E95EF#8E95EF

#8E95EF is a light, vivid blue. Relative luminance 0.335; OKLCH L 70.2% C 0.131 H 279.1°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8E95EF
RGBrgb(142, 149, 239)
HSLhsl(236, 75%, 75%)
HSVhsv(236, 41%, 94%)
CMYKcmyk(40.6%, 37.7%, 0%, 6.3%)
CIE-LABlab(64.54, 19.47, -46.10)
CIE-LCHlch(64.54, 50.04, 292.90°)
OKLaboklab(70.17% 0.0207 -0.1296)
OKLCHoklch(70.17% 0.131 279.1)
XYZxyz(37.4782, 33.4760, 86.1314)
Luminance0.3348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E95EF #EFE88E
analogous
#8EC6EF #8E95EF #B88EEF
triadic
#8E95EF #EF8E95 #95EF8E
tetradic
#8E95EF #EF8EC6 #EFE88E #8EEFB8
square
#8E95EF #EF8EC6 #EFE88E #8EEFB8
split-complementary
#8E95EF #EFB88E #C6EF8E
monochromatic
#2330E0 #5863E7 #8E95EF #C4C7F7 #E4E6FB

Accessibility & contrast

On white

2.73
#8E95EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#8E95EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E95EF
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E95EF#FFFFFF#000000##000000
##8E95EF1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A0F3
Deuteranopia (green-blind)
#7099ED
Tritanopia (blue-blind)
#70A7B7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8e95ef;
/* rgb */ color: rgb(142, 149, 239);
/* oklch */ color: oklch(70.2% 0.131 279.1);
Tailwind
colors: {
  custom: {
    50: '#b3b4f4',
    500: '#8e95ef',
    950: '#000000',
  },
}
SCSS
$custom: #8e95ef;
$custom-light: #b3b4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e95ef",
  "rgb": {
    "r": 142,
    "g": 149,
    "b": 239
  },
  "hsl": {
    "h": 235.67,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70171,
    "c": 0.13127,
    "h": 279.1
  },
  "luminance": 0.33478
}

Semantic roles & 50–950 ramp

primary
#8E95EF
secondary
#F3F1D8
accent
#C90ED7
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8E95EF

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

Preview Lab → · Contrast checker → · Palette generator →

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