#8F87F3#8F87F3

#8F87F3 is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.8% C 0.156 H 284.8°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8F87F3
RGBrgb(143, 135, 243)
HSLhsl(244, 82%, 74%)
HSVhsv(244, 44%, 95%)
CMYKcmyk(41.2%, 44.4%, 0%, 4.7%)
CIE-LABlab(61.34, 28.95, -53.37)
CIE-LCHlch(61.34, 60.72, 298.48°)
OKLaboklab(67.81% 0.0399 -0.1509)
OKLCHoklch(67.81% 0.156 284.8)
XYZxyz(36.1647, 29.6373, 88.5917)
Luminance0.2964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F87F3 #EBF387
analogous
#87B5F3 #8F87F3 #C587F3
triadic
#8F87F3 #F38F87 #87F38F
tetradic
#8F87F3 #F387B5 #EBF387 #87F3C5
square
#8F87F3 #F387B5 #EBF387 #87F3C5
split-complementary
#8F87F3 #F3C587 #B5F387
monochromatic
#2718E8 #5B4FED #8F87F3 #C3BFF9 #E5E3FC

Accessibility & contrast

On white

3.03
#8F87F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#8F87F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F87F3
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F87F3#FFFFFF#000000##000000
##8F87F31.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F97F7
Deuteranopia (green-blind)
#5B91F1
Tritanopia (blue-blind)
#719DB1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8f87f3;
/* rgb */ color: rgb(143, 135, 243);
/* oklch */ color: oklch(67.8% 0.156 284.8);
Tailwind
colors: {
  custom: {
    50: '#b4aaf7',
    500: '#8f87f3',
    950: '#000000',
  },
}
SCSS
$custom: #8f87f3;
$custom-light: #b4aaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f87f3",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 244.444,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.67812,
    "c": 0.15605,
    "h": 284.8
  },
  "luminance": 0.29639
}

Semantic roles & 50–950 ramp

primary
#8F87F3
secondary
#F2F4D7
accent
#DE07CE
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8F87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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