#8874F2#8874F2

#8874F2 is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.8% C 0.182 H 287.4°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8874F2
RGBrgb(136, 116, 242)
HSLhsl(250, 83%, 70%)
HSVhsv(250, 52%, 95%)
CMYKcmyk(43.8%, 52.1%, 0%, 5.1%)
CIE-LABlab(56.22, 38.05, -61.02)
CIE-LCHlch(56.22, 71.91, 301.95°)
OKLaboklab(63.81% 0.0543 -0.1736)
OKLCHoklch(63.81% 0.182 287.4)
XYZxyz(32.4212, 24.1346, 86.9374)
Luminance0.2414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8874F2 #DEF274
analogous
#749FF2 #8874F2 #C774F2
triadic
#8874F2 #F28874 #74F288
tetradic
#8874F2 #F2749F #DEF274 #74F2C7
square
#8874F2 #F2749F #DEF274 #74F2C7
split-complementary
#8874F2 #F2C774 #9FF274
monochromatic
#3314D7 #583CED #8874F2 #B8ACF7 #E7E3FC

Accessibility & contrast

On white

3.60
#8874F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#8874F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8874F2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8874F2#FFFFFF#000000##000000
##8874F21.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#388AF6
Deuteranopia (green-blind)
#3783EF
Tritanopia (blue-blind)
#678FA8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8874f2;
/* rgb */ color: rgb(136, 116, 242);
/* oklch */ color: oklch(63.8% 0.182 287.4);
Tailwind
colors: {
  custom: {
    50: '#b09cf7',
    500: '#8874f2',
    950: '#000000',
  },
}
SCSS
$custom: #8874f2;
$custom-light: #b09cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8874f2",
  "rgb": {
    "r": 136,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 249.524,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.6381,
    "c": 0.18187,
    "h": 287.4
  },
  "luminance": 0.24136
}

Semantic roles & 50–950 ramp

primary
#8874F2
secondary
#EDF2CF
accent
#DF06BD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8874F2

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

Preview Lab → · Contrast checker → · Palette generator →

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