#877AF6#877AF6

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

Color values

HEX#877AF6
RGBrgb(135, 122, 246)
HSLhsl(246, 87%, 72%)
HSVhsv(246, 50%, 96%)
CMYKcmyk(45.1%, 50.4%, 0%, 3.5%)
CIE-LABlab(57.77, 35.49, -60.76)
CIE-LCHlch(57.77, 70.36, 300.29°)
OKLaboklab(65.03% 0.0464 -0.1728)
OKLCHoklch(65.03% 0.179 285)
XYZxyz(33.5809, 25.7223, 90.3664)
Luminance0.2572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877AF6 #E9F67A
analogous
#7AABF6 #877AF6 #C57AF6
triadic
#877AF6 #F6877A #7AF687
tetradic
#877AF6 #F67AAB #E9F67A #7AF6C5
square
#877AF6 #F67AAB #E9F67A #7AF6C5
split-complementary
#877AF6 #F6C57A #ABF67A
monochromatic
#2610E6 #5341F2 #877AF6 #BBB3FA #E5E2FD

Accessibility & contrast

On white

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

On black

6.14
#877AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877AF6
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877AF6#FFFFFF#000000##000000
##877AF61.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#418EFA
Deuteranopia (green-blind)
#3D87F3
Tritanopia (blue-blind)
#6394AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877af6;
/* rgb */ color: rgb(135, 122, 246);
/* oklch */ color: oklch(65.0% 0.179 285.0);
Tailwind
colors: {
  custom: {
    50: '#b0a0fa',
    500: '#877af6',
    950: '#000000',
  },
}
SCSS
$custom: #877af6;
$custom-light: #b0a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#877af6",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 246
  },
  "hsl": {
    "h": 246.29,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.65025,
    "c": 0.17892,
    "h": 285
  },
  "luminance": 0.25724
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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