#8874EC#8874EC

#8874EC is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.4% C 0.174 H 288.1°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8874EC
RGBrgb(136, 116, 236)
HSLhsl(250, 76%, 69%)
HSVhsv(250, 51%, 93%)
CMYKcmyk(42.4%, 50.8%, 0%, 7.5%)
CIE-LABlab(55.87, 36.37, -58.25)
CIE-LCHlch(55.87, 68.67, 301.98°)
OKLaboklab(63.43% 0.0539 -0.1654)
OKLCHoklch(63.43% 0.174 288.1)
XYZxyz(31.5348, 23.7800, 82.2691)
Luminance0.2378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8874EC #D8EC74
analogous
#749CEC #8874EC #C474EC
triadic
#8874EC #EC8874 #74EC88
tetradic
#8874EC #EC749C #D8EC74 #74ECC4
square
#8874EC #EC749C #D8EC74 #74ECC4
split-complementary
#8874EC #ECC474 #9CEC74
monochromatic
#391CCA #5A3EE5 #8874EC #B6AAF3 #E4E0FB

Accessibility & contrast

On white

3.65
#8874EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8874EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8874EC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8874EC#FFFFFF#000000##000000
##8874EC1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F89F0
Deuteranopia (green-blind)
#3F83E9
Tritanopia (blue-blind)
#6B8DA5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8874ec;
/* rgb */ color: rgb(136, 116, 236);
/* oklch */ color: oklch(63.4% 0.174 288.1);
Tailwind
colors: {
  custom: {
    50: '#b09cf3',
    500: '#8874ec',
    950: '#000000',
  },
}
SCSS
$custom: #8874ec;
$custom-light: #b09cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8874ec",
  "rgb": {
    "r": 136,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 250,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.63431,
    "c": 0.174,
    "h": 288.1
  },
  "luminance": 0.23781
}

Semantic roles & 50–950 ramp

primary
#8874EC
secondary
#EAEFCC
accent
#D80DB6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8874EC

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

Preview Lab → · Contrast checker → · Palette generator →

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