#877CF5#877CF5

#877CF5 is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.3% C 0.175 H 284.6°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#877CF5
RGBrgb(135, 124, 245)
HSLhsl(245, 86%, 72%)
HSVhsv(245, 49%, 96%)
CMYKcmyk(44.9%, 49.4%, 0%, 3.9%)
CIE-LABlab(58.19, 34.04, -59.54)
CIE-LCHlch(58.19, 68.58, 299.75°)
OKLaboklab(65.32% 0.044 -0.1692)
OKLCHoklch(65.32% 0.175 284.6)
XYZxyz(33.6759, 26.1573, 89.6430)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CF5 #EAF57C
analogous
#7CADF5 #877CF5 #C47CF5
triadic
#877CF5 #F5877C #7CF587
tetradic
#877CF5 #F57CAD #EAF57C #7CF5C4
square
#877CF5 #F57CAD #EAF57C #7CF5C4
split-complementary
#877CF5 #F5C47C #ADF57C
monochromatic
#2511E5 #5343F1 #877CF5 #BBB5F9 #E5E3FD

Accessibility & contrast

On white

3.37
#877CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#877CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CF5
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CF5#FFFFFF#000000##000000
##877CF51.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4690F9
Deuteranopia (green-blind)
#4288F2
Tritanopia (blue-blind)
#6396AD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877cf5;
/* rgb */ color: rgb(135, 124, 245);
/* oklch */ color: oklch(65.3% 0.175 284.6);
Tailwind
colors: {
  custom: {
    50: '#b0a2f9',
    500: '#877cf5',
    950: '#000000',
  },
}
SCSS
$custom: #877cf5;
$custom-light: #b0a2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#877cf5",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 245
  },
  "hsl": {
    "h": 245.455,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.65316,
    "c": 0.17484,
    "h": 284.6
  },
  "luminance": 0.26159
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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