#8874E7#8874E7

#8874E7 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.1% C 0.167 H 288.7°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8874E7
RGBrgb(136, 116, 231)
HSLhsl(250, 71%, 68%)
HSVhsv(250, 50%, 91%)
CMYKcmyk(41.1%, 49.8%, 0%, 9.4%)
CIE-LABlab(55.58, 34.98, -55.92)
CIE-LCHlch(55.58, 65.96, 302.02°)
OKLaboklab(63.12% 0.0536 -0.1586)
OKLCHoklch(63.12% 0.167 288.7)
XYZxyz(30.8185, 23.4935, 78.4967)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8874E7 #D3E774
analogous
#7499E7 #8874E7 #C174E7
triadic
#8874E7 #E78874 #74E788
tetradic
#8874E7 #E77499 #D3E774 #74E7C1
square
#8874E7 #E77499 #D3E774 #74E7C1
split-complementary
#8874E7 #E7C174 #99E774
monochromatic
#3D21C0 #5B40DE #8874E7 #B5A8F0 #E1DCF9

Accessibility & contrast

On white

3.68
#8874E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8874E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8874E7
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8874E7#FFFFFF#000000##000000
##8874E71.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4488EB
Deuteranopia (green-blind)
#4482E4
Tritanopia (blue-blind)
#6D8CA3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8874e7;
/* rgb */ color: rgb(136, 116, 231);
/* oklch */ color: oklch(63.1% 0.167 288.7);
Tailwind
colors: {
  custom: {
    50: '#af9cef',
    500: '#8874e7',
    950: '#000000',
  },
}
SCSS
$custom: #8874e7;
$custom-light: #af9cef;
$custom-dark: #000000;
JSON
{
  "hex": "#8874e7",
  "rgb": {
    "r": 136,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 250.435,
    "s": 70.552,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63121,
    "c": 0.1674,
    "h": 288.7
  },
  "luminance": 0.23495
}

Semantic roles & 50–950 ramp

primary
#8874E7
secondary
#E7EDCA
accent
#D313B1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8874E7

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

Preview Lab → · Contrast checker → · Palette generator →

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