#8A87F6#8A87F6

#8A87F6 is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.6% C 0.161 H 282.4°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8A87F6
RGBrgb(138, 135, 246)
HSLhsl(242, 86%, 75%)
HSVhsv(242, 45%, 96%)
CMYKcmyk(43.9%, 45.1%, 0%, 3.5%)
CIE-LABlab(61.12, 28.60, -55.40)
CIE-LCHlch(61.12, 62.34, 297.31°)
OKLaboklab(67.6% 0.0346 -0.1569)
OKLCHoklch(67.6% 0.161 282.4)
XYZxyz(35.7749, 29.3834, 90.9575)
Luminance0.2939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A87F6 #F3F687
analogous
#87BBF6 #8A87F6 #C287F6
triadic
#8A87F6 #F68A87 #87F68A
tetradic
#8A87F6 #F687BB #F3F687 #87F6C2
square
#8A87F6 #F687BB #F3F687 #87F6C2
split-complementary
#8A87F6 #F6C287 #BBF687
monochromatic
#1B15ED #524EF2 #8A87F6 #C2C0FA #E3E3FD

Accessibility & contrast

On white

3.05
#8A87F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#8A87F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A87F6
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A87F6#FFFFFF#000000##000000
##8A87F61.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B97FA
Deuteranopia (green-blind)
#5590F3
Tritanopia (blue-blind)
#679EB3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a87f6;
/* rgb */ color: rgb(138, 135, 246);
/* oklch */ color: oklch(67.6% 0.161 282.4);
Tailwind
colors: {
  custom: {
    50: '#b1aafa',
    500: '#8a87f6',
    950: '#000000',
  },
}
SCSS
$custom: #8a87f6;
$custom-light: #b1aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a87f6",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 241.622,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.67602,
    "c": 0.1607,
    "h": 282.4
  },
  "luminance": 0.29385
}

Semantic roles & 50–950 ramp

primary
#8A87F6
secondary
#F4F5D6
accent
#E303DD
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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