#8A87F5#8A87F5

#8A87F5 is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.5% C 0.159 H 282.5°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8A87F5
RGBrgb(138, 135, 245)
HSLhsl(242, 85%, 75%)
HSVhsv(242, 45%, 96%)
CMYKcmyk(43.7%, 44.9%, 0%, 3.9%)
CIE-LABlab(61.06, 28.32, -54.93)
CIE-LCHlch(61.06, 61.80, 297.27°)
OKLaboklab(67.54% 0.0345 -0.1556)
OKLCHoklch(67.54% 0.159 282.5)
XYZxyz(35.6218, 29.3222, 90.1513)
Luminance0.2932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A87F5 #F2F587
analogous
#87BBF5 #8A87F5 #C187F5
triadic
#8A87F5 #F58A87 #87F58A
tetradic
#8A87F5 #F587BB #F2F587 #87F5C1
square
#8A87F5 #F587BB #F2F587 #87F5C1
split-complementary
#8A87F5 #F5C187 #BBF587
monochromatic
#1C16EC #534FF0 #8A87F5 #C1BFFA #E3E3FD

Accessibility & contrast

On white

3.06
#8A87F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#8A87F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A87F5
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A87F5#FFFFFF#000000##000000
##8A87F51.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C97F9
Deuteranopia (green-blind)
#5690F2
Tritanopia (blue-blind)
#689EB2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a87f5;
/* rgb */ color: rgb(138, 135, 245);
/* oklch */ color: oklch(67.5% 0.159 282.5);
Tailwind
colors: {
  custom: {
    50: '#b1aaf9',
    500: '#8a87f5',
    950: '#000000',
  },
}
SCSS
$custom: #8a87f5;
$custom-light: #b1aaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a87f5",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 241.636,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.67544,
    "c": 0.15933,
    "h": 282.5
  },
  "luminance": 0.29324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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