#8874CA#8874CA

#8874CA is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.4% C 0.128 H 292.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8874CA
RGBrgb(136, 116, 202)
HSLhsl(254, 45%, 62%)
HSVhsv(254, 43%, 79%)
CMYKcmyk(32.7%, 42.6%, 0%, 20.8%)
CIE-LABlab(54.02, 27.12, -42.05)
CIE-LCHlch(54.02, 50.04, 302.83°)
OKLaboklab(61.44% 0.0499 -0.118)
OKLCHoklch(61.44% 0.128 292.9)
XYZxyz(27.0567, 21.9888, 58.6844)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8874CA #B6CA74
analogous
#748BCA #8874CA #B374CA
triadic
#8874CA #CA8874 #74CA88
tetradic
#8874CA #CA748B #B6CA74 #74CAB3
square
#8874CA #CA748B #B6CA74 #74CAB3
split-complementary
#8874CA #CAB374 #8BCA74
monochromatic
#4A368E #6248B9 #8874CA #AEA0DB #D4CDEC

Accessibility & contrast

On white

3.89
#8874CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#8874CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8874CA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8874CA#FFFFFF#000000##000000
##8874CA1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5982CD
Deuteranopia (green-blind)
#5C80C8
Tritanopia (blue-blind)
#798495
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8874ca;
/* rgb */ color: rgb(136, 116, 202);
/* oklch */ color: oklch(61.4% 0.128 292.9);
Tailwind
colors: {
  custom: {
    50: '#ad9cda',
    500: '#8874ca',
    950: '#000000',
  },
}
SCSS
$custom: #8874ca;
$custom-light: #ad9cda;
$custom-dark: #000000;
JSON
{
  "hex": "#8874ca",
  "rgb": {
    "r": 136,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 253.953,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61438,
    "c": 0.12814,
    "h": 292.9
  },
  "luminance": 0.21989
}

Semantic roles & 50–950 ramp

primary
#8874CA
secondary
#D5DDBD
accent
#B82E98
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8874CA

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

Preview Lab → · Contrast checker → · Palette generator →

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