#8A95FB#8A95FB

#8A95FB is a light, vivid blue. Relative luminance 0.339; OKLCH L 70.5% C 0.149 H 277.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8A95FB
RGBrgb(138, 149, 251)
HSLhsl(234, 93%, 76%)
HSVhsv(234, 45%, 98%)
CMYKcmyk(45%, 40.6%, 0%, 1.6%)
CIE-LABlab(64.85, 21.88, -52.21)
CIE-LCHlch(64.85, 56.61, 292.74°)
OKLaboklab(70.53% 0.0187 -0.1475)
OKLCHoklch(70.53% 0.149 277.2)
XYZxyz(38.6360, 33.8612, 95.7481)
Luminance0.3386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A95FB #FBF08A
analogous
#8ACEFB #8A95FB #B88AFB
triadic
#8A95FB #FB8A95 #95FB8A
tetradic
#8A95FB #FB8ACE #FBF08A #8AFBB8
square
#8A95FB #FB8ACE #FBF08A #8AFBB8
split-complementary
#8A95FB #FBB88A #CEFB8A
monochromatic
#142AF7 #4F5FF9 #8A95FB #C5CBFD #E1E4FE

Accessibility & contrast

On white

2.70
#8A95FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#8A95FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A95FB
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A95FB#FFFFFF#000000##000000
##8A95FB1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#6699F9
Tritanopia (blue-blind)
#63AABC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a95fb;
/* rgb */ color: rgb(138, 149, 251);
/* oklch */ color: oklch(70.5% 0.149 277.2);
Tailwind
colors: {
  custom: {
    50: '#b1b4fd',
    500: '#8a95fb',
    950: '#000000',
  },
}
SCSS
$custom: #8a95fb;
$custom-light: #b1b4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a95fb",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 251
  },
  "hsl": {
    "h": 234.159,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.70527,
    "c": 0.14871,
    "h": 277.2
  },
  "luminance": 0.33863
}

Semantic roles & 50–950 ramp

primary
#8A95FB
secondary
#F6F3D5
accent
#CF00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8A95FB

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

Preview Lab → · Contrast checker → · Palette generator →

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