#8872F8#8872F8

#8872F8 is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.9% C 0.192 H 287.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8872F8
RGBrgb(136, 114, 248)
HSLhsl(250, 91%, 71%)
HSVhsv(250, 54%, 97%)
CMYKcmyk(45.2%, 54%, 0%, 2.7%)
CIE-LABlab(56.13, 40.89, -64.49)
CIE-LCHlch(56.13, 76.37, 302.38°)
OKLaboklab(63.86% 0.0568 -0.1838)
OKLCHoklch(63.86% 0.192 287.2)
XYZxyz(33.1091, 24.0448, 91.6853)
Luminance0.2405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8872F8 #E2F872
analogous
#729FF8 #8872F8 #CB72F8
triadic
#8872F8 #F88872 #72F888
tetradic
#8872F8 #F8729F #E2F872 #72F8CB
square
#8872F8 #F8729F #E2F872 #72F8CB
split-complementary
#8872F8 #F8CB72 #9FF872
monochromatic
#2F0BE4 #5738F5 #8872F8 #B9ACFB #E6E2FE

Accessibility & contrast

On white

3.61
#8872F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#8872F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8872F8
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8872F8#FFFFFF#000000##000000
##8872F81.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#298AFD
Deuteranopia (green-blind)
#2883F5
Tritanopia (blue-blind)
#648FAA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8872f8;
/* rgb */ color: rgb(136, 114, 248);
/* oklch */ color: oklch(63.9% 0.192 287.2);
Tailwind
colors: {
  custom: {
    50: '#b19bfb',
    500: '#8872f8',
    950: '#000000',
  },
}
SCSS
$custom: #8872f8;
$custom-light: #b19bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8872f8",
  "rgb": {
    "r": 136,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 249.851,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.63861,
    "c": 0.19236,
    "h": 287.2
  },
  "luminance": 0.24046
}

Semantic roles & 50–950 ramp

primary
#8872F8
secondary
#EFF5D1
accent
#E600C0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8872F8

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

Preview Lab → · Contrast checker → · Palette generator →

#8872F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva