#8873FE#8873FE

#8873FE is a light, vivid blue. Relative luminance 0.247; OKLCH L 64.4% C 0.199 H 286.3°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8873FE
RGBrgb(136, 115, 254)
HSLhsl(249, 99%, 72%)
HSVhsv(249, 55%, 100%)
CMYKcmyk(46.5%, 54.7%, 0%, 0.4%)
CIE-LABlab(56.73, 42.02, -66.85)
CIE-LCHlch(56.73, 78.95, 302.15°)
OKLaboklab(64.43% 0.0559 -0.1907)
OKLCHoklch(64.43% 0.199 286.3)
XYZxyz(34.1683, 24.6500, 96.7043)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8873FE #E9FE73
analogous
#73A3FE #8873FE #CE73FE
triadic
#8873FE #FE8873 #73FE88
tetradic
#8873FE #FE73A3 #E9FE73 #73FECE
square
#8873FE #FE73A3 #E9FE73 #73FECE
split-complementary
#8873FE #FECE73 #A3FE73
monochromatic
#2602F5 #5436FE #8873FE #BCB0FE #E5E1FF

Accessibility & contrast

On white

3.54
#8873FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#8873FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8873FE
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8873FE#FFFFFF#000000##000000
##8873FE1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#218CFF
Deuteranopia (green-blind)
#1D84FB
Tritanopia (blue-blind)
#6192AE
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8873fe;
/* rgb */ color: rgb(136, 115, 254);
/* oklch */ color: oklch(64.4% 0.199 286.3);
Tailwind
colors: {
  custom: {
    50: '#b29cff',
    500: '#8873fe',
    950: '#000000',
  },
}
SCSS
$custom: #8873fe;
$custom-light: #b29cff;
$custom-dark: #000000;
JSON
{
  "hex": "#8873fe",
  "rgb": {
    "r": 136,
    "g": 115,
    "b": 254
  },
  "hsl": {
    "h": 249.065,
    "s": 98.582,
    "l": 72.353
  },
  "oklch": {
    "l": 0.64426,
    "c": 0.1987,
    "h": 286.3
  },
  "luminance": 0.24651
}

Semantic roles & 50–950 ramp

primary
#8873FE
secondary
#F2F7D4
accent
#E600C3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8873FE

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

Preview Lab → · Contrast checker → · Palette generator →

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