#8A87F3#8A87F3

#8A87F3 is a light, vivid blue. Relative luminance 0.292; OKLCH L 67.4% C 0.157 H 282.6°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8A87F3
RGBrgb(138, 135, 243)
HSLhsl(242, 82%, 74%)
HSVhsv(242, 44%, 95%)
CMYKcmyk(43.2%, 44.4%, 0%, 4.7%)
CIE-LABlab(60.96, 27.75, -54.00)
CIE-LCHlch(60.96, 60.71, 297.20°)
OKLaboklab(67.43% 0.0342 -0.1528)
OKLCHoklch(67.43% 0.157 282.6)
XYZxyz(35.3181, 29.2007, 88.5520)
Luminance0.2920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A87F3 #F0F387
analogous
#87BAF3 #8A87F3 #C087F3
triadic
#8A87F3 #F38A87 #87F38A
tetradic
#8A87F3 #F387BA #F0F387 #87F3C0
square
#8A87F3 #F387BA #F0F387 #87F3C0
split-complementary
#8A87F3 #F3C087 #BAF387
monochromatic
#1E18E8 #544FED #8A87F3 #C0BFF9 #E4E3FC

Accessibility & contrast

On white

3.07
#8A87F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#8A87F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A87F3
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A87F3#FFFFFF#000000##000000
##8A87F31.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D97F7
Deuteranopia (green-blind)
#588FF1
Tritanopia (blue-blind)
#699DB1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a87f3;
/* rgb */ color: rgb(138, 135, 243);
/* oklch */ color: oklch(67.4% 0.157 282.6);
Tailwind
colors: {
  custom: {
    50: '#b1aaf7',
    500: '#8a87f3',
    950: '#000000',
  },
}
SCSS
$custom: #8a87f3;
$custom-light: #b1aaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a87f3",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 241.667,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.67428,
    "c": 0.15661,
    "h": 282.6
  },
  "luminance": 0.29202
}

Semantic roles & 50–950 ramp

primary
#8A87F3
secondary
#F3F4D7
accent
#DE07D8
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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