#8087F2#8087F2

#8087F2 is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.6% C 0.157 H 278.4°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8087F2
RGBrgb(128, 135, 242)
HSLhsl(236, 81%, 73%)
HSVhsv(236, 47%, 95%)
CMYKcmyk(47.1%, 44.2%, 0%, 5.1%)
CIE-LABlab(60.18, 25.13, -54.72)
CIE-LCHlch(60.18, 60.22, 294.66°)
OKLaboklab(66.64% 0.0229 -0.1552)
OKLCHoklch(66.64% 0.157 278.4)
XYZxyz(33.5882, 28.3261, 87.6848)
Luminance0.2833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8087F2 #F2EB80
analogous
#80C0F2 #8087F2 #B280F2
triadic
#8087F2 #F28087 #87F280
tetradic
#8087F2 #F280C0 #F2EB80 #80F2B2
square
#8087F2 #F280C0 #F2EB80 #80F2B2
split-complementary
#8087F2 #F2B280 #C0F280
monochromatic
#1723E1 #4853EC #8087F2 #B8BBF8 #E3E5FC

Accessibility & contrast

On white

3.15
#8087F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#8087F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8087F2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8087F2#FFFFFF#000000##000000
##8087F21.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C96F6
Deuteranopia (green-blind)
#528DF0
Tritanopia (blue-blind)
#569EB1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8087f2;
/* rgb */ color: rgb(128, 135, 242);
/* oklch */ color: oklch(66.6% 0.157 278.4);
Tailwind
colors: {
  custom: {
    50: '#aba9f7',
    500: '#8087f2',
    950: '#000000',
  },
}
SCSS
$custom: #8087f2;
$custom-light: #aba9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8087f2",
  "rgb": {
    "r": 128,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 236.316,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.6664,
    "c": 0.15688,
    "h": 278.4
  },
  "luminance": 0.28328
}

Semantic roles & 50–950 ramp

primary
#8087F2
secondary
#F4F2D7
accent
#D108DE
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8087F2

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

Preview Lab → · Contrast checker → · Palette generator →

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