#8087F5#8087F5

#8087F5 is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.8% C 0.161 H 278.3°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8087F5
RGBrgb(128, 135, 245)
HSLhsl(236, 85%, 73%)
HSVhsv(236, 48%, 96%)
CMYKcmyk(47.8%, 44.9%, 0%, 3.9%)
CIE-LABlab(60.34, 26.01, -56.12)
CIE-LCHlch(60.34, 61.86, 294.87°)
OKLaboklab(66.82% 0.0234 -0.1593)
OKLCHoklch(66.82% 0.161 278.3)
XYZxyz(34.0424, 28.5078, 90.0773)
Luminance0.2851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8087F5 #F5EE80
analogous
#80C1F5 #8087F5 #B380F5
triadic
#8087F5 #F58087 #87F580
tetradic
#8087F5 #F580C1 #F5EE80 #80F5B3
square
#8087F5 #F580C1 #F5EE80 #80F5B3
split-complementary
#8087F5 #F5B380 #C1F580
monochromatic
#121FE8 #4751F1 #8087F5 #B9BDF9 #E3E4FD

Accessibility & contrast

On white

3.13
#8087F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#8087F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8087F5
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8087F5#FFFFFF#000000##000000
##8087F51.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5996F9
Deuteranopia (green-blind)
#508DF3
Tritanopia (blue-blind)
#549EB2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8087f5;
/* rgb */ color: rgb(128, 135, 245);
/* oklch */ color: oklch(66.8% 0.161 278.3);
Tailwind
colors: {
  custom: {
    50: '#aba9f9',
    500: '#8087f5',
    950: '#000000',
  },
}
SCSS
$custom: #8087f5;
$custom-light: #aba9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8087f5",
  "rgb": {
    "r": 128,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 236.41,
    "s": 85.401,
    "l": 73.137
  },
  "oklch": {
    "l": 0.66816,
    "c": 0.16098,
    "h": 278.3
  },
  "luminance": 0.2851
}

Semantic roles & 50–950 ramp

primary
#8087F5
secondary
#F5F3D6
accent
#D504E2
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8087F5

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

Preview Lab → · Contrast checker → · Palette generator →

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