#8A95F5#8A95F5

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

Color values

HEX#8A95F5
RGBrgb(138, 149, 245)
HSLhsl(234, 84%, 75%)
HSVhsv(234, 44%, 96%)
CMYKcmyk(43.7%, 39.2%, 0%, 3.9%)
CIE-LABlab(64.55, 20.17, -49.40)
CIE-LCHlch(64.55, 53.35, 292.21°)
OKLaboklab(70.2% 0.0176 -0.1393)
OKLCHoklch(70.2% 0.14 277.2)
XYZxyz(37.7051, 33.4889, 90.8458)
Luminance0.3349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A95F5 #F5EA8A
analogous
#8ACAF5 #8A95F5 #B58AF5
triadic
#8A95F5 #F58A95 #95F58A
tetradic
#8A95F5 #F58ACA #F5EA8A #8AF5B5
square
#8A95F5 #F58ACA #F5EA8A #8AF5B5
split-complementary
#8A95F5 #F5B58A #CAF58A
monochromatic
#192FEB #5262F0 #8A95F5 #C2C8FA #E3E5FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A95F5#FFFFFF#000000##000000
##8A95F51.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)
#72A1F9
Deuteranopia (green-blind)
#6A99F3
Tritanopia (blue-blind)
#66A9B9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a95f5;
/* rgb */ color: rgb(138, 149, 245);
/* oklch */ color: oklch(70.2% 0.140 277.2);
Tailwind
colors: {
  custom: {
    50: '#b1b4f9',
    500: '#8a95f5',
    950: '#000000',
  },
}
SCSS
$custom: #8a95f5;
$custom-light: #b1b4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a95f5",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 245
  },
  "hsl": {
    "h": 233.832,
    "s": 84.252,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70202,
    "c": 0.14041,
    "h": 277.2
  },
  "luminance": 0.33491
}

Semantic roles & 50–950 ramp

primary
#8A95F5
secondary
#F5F1D6
accent
#CA05E1
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A95F5

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

Preview Lab → · Contrast checker → · Palette generator →

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