#8A95FE#8A95FE

#8A95FE is a light, vivid blue. Relative luminance 0.341; OKLCH L 70.7% C 0.153 H 277.2°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8A95FE
RGBrgb(138, 149, 254)
HSLhsl(234, 98%, 77%)
HSVhsv(234, 46%, 100%)
CMYKcmyk(45.7%, 41.3%, 0%, 0.4%)
CIE-LABlab(65.00, 22.75, -53.61)
CIE-LCHlch(65.00, 58.24, 292.99°)
OKLaboklab(70.69% 0.0192 -0.1516)
OKLCHoklch(70.69% 0.153 277.2)
XYZxyz(39.1126, 34.0519, 98.2585)
Luminance0.3405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A95FE #FEF38A
analogous
#8ACFFE #8A95FE #B98AFE
triadic
#8A95FE #FE8A95 #95FE8A
tetradic
#8A95FE #FE8ACF #FEF38A #8AFEB9
square
#8A95FE #FE8ACF #FEF38A #8AFEB9
split-complementary
#8A95FE #FEB98A #CFFE8A
monochromatic
#1127FD #4D5EFD #8A95FE #C7CCFF #E1E4FF

Accessibility & contrast

On white

2.69
#8A95FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#8A95FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A95FE
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A95FE#FFFFFF#000000##000000
##8A95FE1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#6399FC
Tritanopia (blue-blind)
#61ABBD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a95fe;
/* rgb */ color: rgb(138, 149, 254);
/* oklch */ color: oklch(70.7% 0.153 277.2);
Tailwind
colors: {
  custom: {
    50: '#b2b4ff',
    500: '#8a95fe',
    950: '#000000',
  },
}
SCSS
$custom: #8a95fe;
$custom-light: #b2b4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a95fe",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 254
  },
  "hsl": {
    "h": 234.31,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.70692,
    "c": 0.15283,
    "h": 277.2
  },
  "luminance": 0.34054
}

Semantic roles & 50–950 ramp

primary
#8A95FE
secondary
#F7F4D4
accent
#D000E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8A95FE

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

Preview Lab → · Contrast checker → · Palette generator →

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