#877AF2#877AF2

#877AF2 is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.8% C 0.174 H 285.4°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#877AF2
RGBrgb(135, 122, 242)
HSLhsl(247, 82%, 71%)
HSVhsv(247, 50%, 95%)
CMYKcmyk(44.2%, 49.6%, 0%, 5.1%)
CIE-LABlab(57.54, 34.35, -58.91)
CIE-LCHlch(57.54, 68.20, 300.24°)
OKLaboklab(64.78% 0.0461 -0.1674)
OKLCHoklch(64.78% 0.174 285.4)
XYZxyz(32.9736, 25.4794, 87.1678)
Luminance0.2548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877AF2 #E5F27A
analogous
#7AA9F2 #877AF2 #C37AF2
triadic
#877AF2 #F2877A #7AF287
tetradic
#877AF2 #F27AA9 #E5F27A #7AF2C3
square
#877AF2 #F27AA9 #E5F27A #7AF2C3
split-complementary
#877AF2 #F2C37A #A9F27A
monochromatic
#2B16DC #5542ED #877AF2 #B9B2F7 #E6E3FC

Accessibility & contrast

On white

3.44
#877AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#877AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877AF2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877AF2#FFFFFF#000000##000000
##877AF21.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#458EF6
Deuteranopia (green-blind)
#4287EF
Tritanopia (blue-blind)
#6593AB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #877af2;
/* rgb */ color: rgb(135, 122, 242);
/* oklch */ color: oklch(64.8% 0.174 285.4);
Tailwind
colors: {
  custom: {
    50: '#b0a0f7',
    500: '#877af2',
    950: '#000000',
  },
}
SCSS
$custom: #877af2;
$custom-light: #b0a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#877af2",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 246.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.64775,
    "c": 0.17362,
    "h": 285.4
  },
  "luminance": 0.25481
}

Semantic roles & 50–950 ramp

primary
#877AF2
secondary
#F0F3D4
accent
#DF07C7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #877AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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