#8F87FA#8F87FA

#8F87FA is a light, vivid blue. Relative luminance 0.301; OKLCH L 68.2% C 0.166 H 284.3°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8F87FA
RGBrgb(143, 135, 250)
HSLhsl(244, 92%, 75%)
HSVhsv(244, 46%, 98%)
CMYKcmyk(42.8%, 46%, 0%, 2%)
CIE-LABlab(61.71, 30.91, -56.63)
CIE-LCHlch(61.71, 64.51, 298.62°)
OKLaboklab(68.22% 0.0408 -0.1604)
OKLCHoklch(68.22% 0.166 284.3)
XYZxyz(37.2420, 30.0682, 94.2654)
Luminance0.3007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F87FA #F2FA87
analogous
#87B8FA #8F87FA #C887FA
triadic
#8F87FA #FA8F87 #87FA8F
tetradic
#8F87FA #FA87B8 #F2FA87 #87FAC8
square
#8F87FA #FA87B8 #F2FA87 #87FAC8
split-complementary
#8F87FA #FAC887 #B8FA87
monochromatic
#2111F5 #584CF8 #8F87FA #C6C2FC #E4E2FE

Accessibility & contrast

On white

2.99
#8F87FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#8F87FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F87FA
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F87FA#FFFFFF#000000##000000
##8F87FA1.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FE
Deuteranopia (green-blind)
#5591F7
Tritanopia (blue-blind)
#6E9FB5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8f87fa;
/* rgb */ color: rgb(143, 135, 250);
/* oklch */ color: oklch(68.2% 0.166 284.3);
Tailwind
colors: {
  custom: {
    50: '#b5aafc',
    500: '#8f87fa',
    950: '#000000',
  },
}
SCSS
$custom: #8f87fa;
$custom-light: #b5aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f87fa",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 244.174,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.68215,
    "c": 0.16551,
    "h": 284.3
  },
  "luminance": 0.3007
}

Semantic roles & 50–950 ramp

primary
#8F87FA
secondary
#F4F6D5
accent
#E600D6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #8F87FA

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

Preview Lab → · Contrast checker → · Palette generator →

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