#8A95EC#8A95EC

#8A95EC is a light, vivid blue. Relative luminance 0.330; OKLCH L 69.7% C 0.128 H 277.1°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8A95EC
RGBrgb(138, 149, 236)
HSLhsl(233, 72%, 73%)
HSVhsv(233, 42%, 93%)
CMYKcmyk(41.5%, 36.9%, 0%, 7.5%)
CIE-LABlab(64.12, 17.62, -45.13)
CIE-LCHlch(64.12, 48.45, 291.33°)
OKLaboklab(69.73% 0.0157 -0.1269)
OKLCHoklch(69.73% 0.128 277.1)
XYZxyz(36.3645, 32.9526, 83.7850)
Luminance0.3295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A95EC #ECE18A
analogous
#8AC6EC #8A95EC #B08AEC
triadic
#8A95EC #EC8A95 #95EC8A
tetradic
#8A95EC #EC8AC6 #ECE18A #8AECB0
square
#8A95EC #EC8AC6 #ECE18A #8AECB0
split-complementary
#8A95EC #ECB08A #C6EC8A
monochromatic
#2338D8 #5565E3 #8A95EC #BFC5F5 #E5E7FB

Accessibility & contrast

On white

2.77
#8A95EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#8A95EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A95EC
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A95EC#FFFFFF#000000##000000
##8A95EC1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEF
Deuteranopia (green-blind)
#7098EA
Tritanopia (blue-blind)
#6BA6B5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8a95ec;
/* rgb */ color: rgb(138, 149, 236);
/* oklch */ color: oklch(69.7% 0.128 277.1);
Tailwind
colors: {
  custom: {
    50: '#b0b4f2',
    500: '#8a95ec',
    950: '#000000',
  },
}
SCSS
$custom: #8a95ec;
$custom-light: #b0b4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a95ec",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 236
  },
  "hsl": {
    "h": 233.265,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69729,
    "c": 0.12786,
    "h": 277.1
  },
  "luminance": 0.32954
}

Semantic roles & 50–950 ramp

primary
#8A95EC
secondary
#F2EFD9
accent
#BE11D4
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8A95EC

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

Preview Lab → · Contrast checker → · Palette generator →

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