#8A87F4#8A87F4

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

Color values

HEX#8A87F4
RGBrgb(138, 135, 244)
HSLhsl(242, 83%, 74%)
HSVhsv(242, 45%, 96%)
CMYKcmyk(43.4%, 44.7%, 0%, 4.3%)
CIE-LABlab(61.01, 28.03, -54.47)
CIE-LCHlch(61.01, 61.26, 297.23°)
OKLaboklab(67.49% 0.0343 -0.1542)
OKLCHoklch(67.49% 0.158 282.5)
XYZxyz(35.4695, 29.2613, 89.3495)
Luminance0.2926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A87F4 #F1F487
analogous
#87BBF4 #8A87F4 #C087F4
triadic
#8A87F4 #F48A87 #87F48A
tetradic
#8A87F4 #F487BB #F1F487 #87F4C0
square
#8A87F4 #F487BB #F1F487 #87F4C0
split-complementary
#8A87F4 #F4C087 #BBF487
monochromatic
#1D17EA #534FEF #8A87F4 #C1BFF9 #E4E3FC

Accessibility & contrast

On white

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

On black

6.85
#8A87F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A87F4
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A87F4#FFFFFF#000000##000000
##8A87F41.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D97F8
Deuteranopia (green-blind)
#5790F2
Tritanopia (blue-blind)
#689DB2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a87f4;
/* rgb */ color: rgb(138, 135, 244);
/* oklch */ color: oklch(67.5% 0.158 282.5);
Tailwind
colors: {
  custom: {
    50: '#b1aaf8',
    500: '#8a87f4',
    950: '#000000',
  },
}
SCSS
$custom: #8a87f4;
$custom-light: #b1aaf8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a87f4",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 241.651,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.67486,
    "c": 0.15797,
    "h": 282.5
  },
  "luminance": 0.29263
}

Semantic roles & 50–950 ramp

primary
#8A87F4
secondary
#F4F4D7
accent
#E006DA
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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