#877AFA#877AFA

#877AFA is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.3% C 0.184 H 284.7°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#877AFA
RGBrgb(135, 122, 250)
HSLhsl(246, 93%, 73%)
HSVhsv(246, 51%, 98%)
CMYKcmyk(46%, 51.2%, 0%, 2%)
CIE-LABlab(58.01, 36.63, -62.59)
CIE-LCHlch(58.01, 72.52, 300.34°)
OKLaboklab(65.28% 0.0467 -0.1782)
OKLCHoklch(65.28% 0.184 284.7)
XYZxyz(34.2015, 25.9705, 93.6347)
Luminance0.2597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877AFA #EDFA7A
analogous
#7AADFA #877AFA #C77AFA
triadic
#877AFA #FA877A #7AFA87
tetradic
#877AFA #FA7AAD #EDFA7A #7AFAC7
square
#877AFA #FA7AAD #EDFA7A #7AFAC7
split-complementary
#877AFA #FAC77A #ADFA7A
monochromatic
#2109F1 #523FF8 #877AFA #BCB5FC #E4E2FE

Accessibility & contrast

On white

3.39
#877AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#877AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877AFA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877AFA#FFFFFF#000000##000000
##877AFA1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8FFE
Deuteranopia (green-blind)
#3787F7
Tritanopia (blue-blind)
#6196AF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877afa;
/* rgb */ color: rgb(135, 122, 250);
/* oklch */ color: oklch(65.3% 0.184 284.7);
Tailwind
colors: {
  custom: {
    50: '#b0a0fd',
    500: '#877afa',
    950: '#000000',
  },
}
SCSS
$custom: #877afa;
$custom-light: #b0a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#877afa",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 246.094,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.65278,
    "c": 0.18419,
    "h": 284.7
  },
  "luminance": 0.25972
}

Semantic roles & 50–950 ramp

primary
#877AFA
secondary
#F3F6D5
accent
#E600CE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F18
muted
#807E86

Preview Lab

Preview with #877AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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