#877AF5#877AF5

#877AF5 is a light, vivid blue. Relative luminance 0.257; OKLCH L 65.0% C 0.178 H 285.1°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#877AF5
RGBrgb(135, 122, 245)
HSLhsl(246, 86%, 72%)
HSVhsv(246, 50%, 96%)
CMYKcmyk(44.9%, 50.2%, 0%, 3.9%)
CIE-LABlab(57.71, 35.20, -60.30)
CIE-LCHlch(57.71, 69.82, 300.28°)
OKLaboklab(64.96% 0.0464 -0.1714)
OKLCHoklch(64.96% 0.178 285.1)
XYZxyz(33.4278, 25.6611, 89.5603)
Luminance0.2566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877AF5 #E8F57A
analogous
#7AABF5 #877AF5 #C47AF5
triadic
#877AF5 #F5877A #7AF587
tetradic
#877AF5 #F57AAB #E8F57A #7AF5C4
square
#877AF5 #F57AAB #E8F57A #7AF5C4
split-complementary
#877AF5 #F5C47A #ABF57A
monochromatic
#2711E3 #5441F1 #877AF5 #BAB3F9 #E5E3FD

Accessibility & contrast

On white

3.42
#877AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#877AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877AF5
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877AF5#FFFFFF#000000##000000
##877AF51.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#428EF9
Deuteranopia (green-blind)
#3E87F2
Tritanopia (blue-blind)
#6394AC
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877af5;
/* rgb */ color: rgb(135, 122, 245);
/* oklch */ color: oklch(65.0% 0.178 285.1);
Tailwind
colors: {
  custom: {
    50: '#b0a0f9',
    500: '#877af5',
    950: '#000000',
  },
}
SCSS
$custom: #877af5;
$custom-light: #b0a0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#877af5",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 245
  },
  "hsl": {
    "h": 246.341,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.64962,
    "c": 0.1776,
    "h": 285.1
  },
  "luminance": 0.25663
}

Semantic roles & 50–950 ramp

primary
#877AF5
secondary
#F2F5D6
accent
#E303CB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #877AF5

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

Preview Lab → · Contrast checker → · Palette generator →

#877AF5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva