#8873FA#8873FA

#8873FA is a light, vivid blue. Relative luminance 0.244; OKLCH L 64.2% C 0.194 H 286.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8873FA
RGBrgb(136, 115, 250)
HSLhsl(249, 93%, 72%)
HSVhsv(249, 54%, 98%)
CMYKcmyk(45.6%, 54%, 0%, 2%)
CIE-LABlab(56.48, 40.88, -65.04)
CIE-LCHlch(56.48, 76.82, 302.15°)
OKLaboklab(64.16% 0.0558 -0.1854)
OKLCHoklch(64.16% 0.194 286.7)
XYZxyz(33.5344, 24.3964, 93.3660)
Luminance0.2440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8873FA #E5FA73
analogous
#73A2FA #8873FA #CB73FA
triadic
#8873FA #FA8873 #73FA88
tetradic
#8873FA #FA73A2 #E5FA73 #73FACB
square
#8873FA #FA73A2 #E5FA73 #73FACB
split-complementary
#8873FA #FACB73 #A2FA73
monochromatic
#2C08EA #5638F8 #8873FA #BAAEFC #E6E1FE

Accessibility & contrast

On white

3.57
#8873FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#8873FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8873FA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8873FA#FFFFFF#000000##000000
##8873FA1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#298BFF
Deuteranopia (green-blind)
#2784F7
Tritanopia (blue-blind)
#6391AC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8873fa;
/* rgb */ color: rgb(136, 115, 250);
/* oklch */ color: oklch(64.2% 0.194 286.7);
Tailwind
colors: {
  custom: {
    50: '#b19cfd',
    500: '#8873fa',
    950: '#000000',
  },
}
SCSS
$custom: #8873fa;
$custom-light: #b19cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#8873fa",
  "rgb": {
    "r": 136,
    "g": 115,
    "b": 250
  },
  "hsl": {
    "h": 249.333,
    "s": 93.103,
    "l": 71.569
  },
  "oklch": {
    "l": 0.64161,
    "c": 0.19358,
    "h": 286.7
  },
  "luminance": 0.24398
}

Semantic roles & 50–950 ramp

primary
#8873FA
secondary
#F0F6D3
accent
#E600C2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8873FA

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

Preview Lab → · Contrast checker → · Palette generator →

#8873FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva