#8873F9#8873F9

#8873F9 is a light, vivid blue. Relative luminance 0.243; OKLCH L 64.1% C 0.192 H 286.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8873F9
RGBrgb(136, 115, 249)
HSLhsl(249, 92%, 71%)
HSVhsv(249, 54%, 98%)
CMYKcmyk(45.4%, 53.8%, 0%, 2.4%)
CIE-LABlab(56.42, 40.60, -64.58)
CIE-LCHlch(56.42, 76.29, 302.16°)
OKLaboklab(64.1% 0.0557 -0.184)
OKLCHoklch(64.1% 0.192 286.8)
XYZxyz(33.3780, 24.3339, 92.5424)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8873F9 #E4F973
analogous
#73A1F9 #8873F9 #CB73F9
triadic
#8873F9 #F98873 #73F988
tetradic
#8873F9 #F973A1 #E4F973 #73F9CB
square
#8873F9 #F973A1 #E4F973 #73F9CB
split-complementary
#8873F9 #F9CB73 #A1F973
monochromatic
#2D0AE8 #5638F6 #8873F9 #BAAEFC #E6E2FE

Accessibility & contrast

On white

3.58
#8873F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#8873F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8873F9
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8873F9#FFFFFF#000000##000000
##8873F91.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8BFE
Deuteranopia (green-blind)
#2984F6
Tritanopia (blue-blind)
#6490AB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8873f9;
/* rgb */ color: rgb(136, 115, 249);
/* oklch */ color: oklch(64.1% 0.192 286.8);
Tailwind
colors: {
  custom: {
    50: '#b19cfc',
    500: '#8873f9',
    950: '#000000',
  },
}
SCSS
$custom: #8873f9;
$custom-light: #b19cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#8873f9",
  "rgb": {
    "r": 136,
    "g": 115,
    "b": 249
  },
  "hsl": {
    "h": 249.403,
    "s": 91.781,
    "l": 71.373
  },
  "oklch": {
    "l": 0.64095,
    "c": 0.19229,
    "h": 286.8
  },
  "luminance": 0.24335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8873F9

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

Preview Lab → · Contrast checker → · Palette generator →

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