#8087F8#8087F8

#8087F8 is a light, vivid blue. Relative luminance 0.287; OKLCH L 67.0% C 0.165 H 278.3°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8087F8
RGBrgb(128, 135, 248)
HSLhsl(237, 90%, 74%)
HSVhsv(237, 48%, 97%)
CMYKcmyk(48.4%, 45.6%, 0%, 2.7%)
CIE-LABlab(60.51, 26.90, -57.51)
CIE-LCHlch(60.51, 63.49, 295.07°)
OKLaboklab(66.99% 0.0238 -0.1634)
OKLCHoklch(66.99% 0.165 278.3)
XYZxyz(34.5041, 28.6925, 92.5088)
Luminance0.2869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8087F8 #F8F180
analogous
#80C3F8 #8087F8 #B580F8
triadic
#8087F8 #F88087 #87F880
tetradic
#8087F8 #F880C3 #F8F180 #80F8B5
square
#8087F8 #F880C3 #F8F180 #80F8B5
split-complementary
#8087F8 #F8B580 #C3F880
monochromatic
#0D1AF0 #4650F5 #8087F8 #BABEFB #E2E4FD

Accessibility & contrast

On white

3.12
#8087F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#8087F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8087F8
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8087F8#FFFFFF#000000##000000
##8087F81.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FC
Deuteranopia (green-blind)
#4D8DF5
Tritanopia (blue-blind)
#529FB4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8087f8;
/* rgb */ color: rgb(128, 135, 248);
/* oklch */ color: oklch(67.0% 0.165 278.3);
Tailwind
colors: {
  custom: {
    50: '#aba9fb',
    500: '#8087f8',
    950: '#000000',
  },
}
SCSS
$custom: #8087f8;
$custom-light: #aba9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8087f8",
  "rgb": {
    "r": 128,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 236.5,
    "s": 89.552,
    "l": 73.725
  },
  "oklch": {
    "l": 0.66994,
    "c": 0.16508,
    "h": 278.3
  },
  "luminance": 0.28694
}

Semantic roles & 50–950 ramp

primary
#8087F8
secondary
#F5F4D6
accent
#D800E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8087F8

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

Preview Lab → · Contrast checker → · Palette generator →

#8087F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva