#8874F6#8874F6

#8874F6 is a light, vivid blue. Relative luminance 0.244; OKLCH L 64.1% C 0.187 H 286.9°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8874F6
RGBrgb(136, 116, 246)
HSLhsl(249, 88%, 71%)
HSVhsv(249, 53%, 96%)
CMYKcmyk(44.7%, 52.8%, 0%, 3.5%)
CIE-LABlab(56.46, 39.18, -62.85)
CIE-LCHlch(56.46, 74.06, 301.94°)
OKLaboklab(64.07% 0.0545 -0.1789)
OKLCHoklch(64.07% 0.187 286.9)
XYZxyz(33.0285, 24.3775, 90.1360)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8874F6 #E2F674
analogous
#74A1F6 #8874F6 #C974F6
triadic
#8874F6 #F68874 #74F688
tetradic
#8874F6 #F674A1 #E2F674 #74F6C9
square
#8874F6 #F674A1 #E2F674 #74F6C9
split-complementary
#8874F6 #F6C974 #A1F674
monochromatic
#2F0FE1 #573BF2 #8874F6 #B9ADFA #E6E2FD

Accessibility & contrast

On white

3.57
#8874F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#8874F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8874F6
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8874F6#FFFFFF#000000##000000
##8874F61.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)
#338BFA
Deuteranopia (green-blind)
#3184F3
Tritanopia (blue-blind)
#6590AA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8874f6;
/* rgb */ color: rgb(136, 116, 246);
/* oklch */ color: oklch(64.1% 0.187 286.9);
Tailwind
colors: {
  custom: {
    50: '#b19cfa',
    500: '#8874f6',
    950: '#000000',
  },
}
SCSS
$custom: #8874f6;
$custom-light: #b19cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#8874f6",
  "rgb": {
    "r": 136,
    "g": 116,
    "b": 246
  },
  "hsl": {
    "h": 249.231,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64068,
    "c": 0.18706,
    "h": 286.9
  },
  "luminance": 0.24379
}

Semantic roles & 50–950 ramp

primary
#8874F6
secondary
#EFF4D2
accent
#E401C1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8874F6

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

Preview Lab → · Contrast checker → · Palette generator →

#8874F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva