#8F87CA#8F87CA

#8F87CA is a light, moderate blue. Relative luminance 0.274; OKLCH L 65.7% C 0.099 H 288.8°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8F87CA
RGBrgb(143, 135, 202)
HSLhsl(247, 39%, 66%)
HSVhsv(247, 33%, 79%)
CMYKcmyk(29.2%, 33.2%, 0%, 20.8%)
CIE-LABlab(59.37, 18.00, -33.60)
CIE-LCHlch(59.37, 38.12, 298.17°)
OKLaboklab(65.67% 0.0319 -0.0934)
OKLCHoklch(65.67% 0.099 288.8)
XYZxyz(30.6496, 27.4312, 59.5456)
Luminance0.2743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F87CA #C2CA87
analogous
#87A0CA #8F87CA #B087CA
triadic
#8F87CA #CA8F87 #87CA8F
tetradic
#8F87CA #CA87A0 #C2CA87 #87CAB0
square
#8F87CA #CA87A0 #C2CA87 #87CAB0
split-complementary
#8F87CA #CAB087 #A0CA87
monochromatic
#4C4295 #675DB7 #8F87CA #B7B1DD #DEDCEF

Accessibility & contrast

On white

3.24
#8F87CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#8F87CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F87CA
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F87CA#FFFFFF#000000##000000
##8F87CA1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7490CD
Deuteranopia (green-blind)
#748DC8
Tritanopia (blue-blind)
#81939F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8f87ca;
/* rgb */ color: rgb(143, 135, 202);
/* oklch */ color: oklch(65.7% 0.099 288.8);
Tailwind
colors: {
  custom: {
    50: '#b1aada',
    500: '#8f87ca',
    950: '#000000',
  },
}
SCSS
$custom: #8f87ca;
$custom-light: #b1aada;
$custom-dark: #000000;
JSON
{
  "hex": "#8f87ca",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 247.164,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65668,
    "c": 0.09873,
    "h": 288.8
  },
  "luminance": 0.27432
}

Semantic roles & 50–950 ramp

primary
#8F87CA
secondary
#DFE1CB
accent
#B234A3
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111015
muted
#807F83

Preview Lab

Preview with #8F87CA

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

Preview Lab → · Contrast checker → · Palette generator →

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