#8A87F9#8A87F9

#8A87F9 is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.8% C 0.165 H 282.3°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8A87F9
RGBrgb(138, 135, 249)
HSLhsl(242, 90%, 75%)
HSVhsv(242, 46%, 98%)
CMYKcmyk(44.6%, 45.8%, 0%, 2.4%)
CIE-LABlab(61.28, 29.46, -56.79)
CIE-LCHlch(61.28, 63.98, 297.41°)
OKLaboklab(67.78% 0.035 -0.161)
OKLCHoklch(67.78% 0.165 282.3)
XYZxyz(36.2390, 29.5691, 93.4021)
Luminance0.2957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A87F9 #F6F987
analogous
#87BDF9 #8A87F9 #C387F9
triadic
#8A87F9 #F98A87 #87F98A
tetradic
#8A87F9 #F987BD #F6F987 #87F9C3
square
#8A87F9 #F987BD #F6F987 #87F9C3
split-complementary
#8A87F9 #F9C387 #BDF987
monochromatic
#1812F3 #514DF6 #8A87F9 #C3C1FC #E3E2FE

Accessibility & contrast

On white

3.04
#8A87F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#8A87F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A87F9
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A87F9#FFFFFF#000000##000000
##8A87F91.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5998FD
Deuteranopia (green-blind)
#5390F6
Tritanopia (blue-blind)
#659FB4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a87f9;
/* rgb */ color: rgb(138, 135, 249);
/* oklch */ color: oklch(67.8% 0.165 282.3);
Tailwind
colors: {
  custom: {
    50: '#b2aafc',
    500: '#8a87f9',
    950: '#000000',
  },
}
SCSS
$custom: #8a87f9;
$custom-light: #b2aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a87f9",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 241.579,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.67777,
    "c": 0.16477,
    "h": 282.3
  },
  "luminance": 0.29571
}

Semantic roles & 50–950 ramp

primary
#8A87F9
secondary
#F5F6D5
accent
#E600DF
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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