#874ACA#874ACA

#874ACA is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.5% C 0.191 H 302.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#874ACA
RGBrgb(135, 74, 202)
HSLhsl(269, 55%, 54%)
HSVhsv(269, 63%, 79%)
CMYKcmyk(33.2%, 63.4%, 0%, 20.8%)
CIE-LABlab(44.68, 50.48, -56.96)
CIE-LCHlch(44.68, 76.11, 311.55°)
OKLaboklab(54.49% 0.1025 -0.1617)
OKLCHoklch(54.49% 0.191 302.4)
XYZxyz(23.0986, 14.3127, 57.4114)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874ACA #8DCA4A
analogous
#4A4DCA #874ACA #C74ACA
triadic
#874ACA #CA874A #4ACA87
tetradic
#874ACA #CA4A4D #8DCA4A #4ACAC7
square
#874ACA #CA4A4D #8DCA4A #4ACAC7
split-complementary
#874ACA #CAC74A #4DCA4A
monochromatic
#4B2377 #6931A6 #874ACA #A679D8 #C6A9E6

Accessibility & contrast

On white

5.44
#874ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#874ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874ACA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874ACA#FFFFFF#000000##FFFFFF
##874ACA1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#1E69C7
Tritanopia (blue-blind)
#7A6683
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #874aca;
/* rgb */ color: rgb(135, 74, 202);
/* oklch */ color: oklch(54.5% 0.191 302.4);
Tailwind
colors: {
  custom: {
    50: '#ae80db',
    500: '#874aca',
    950: '#000000',
  },
}
SCSS
$custom: #874aca;
$custom-light: #ae80db;
$custom-dark: #000000;
JSON
{
  "hex": "#874aca",
  "rgb": {
    "r": 135,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 268.594,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54494,
    "c": 0.19142,
    "h": 302.4
  },
  "luminance": 0.14313
}

Semantic roles & 50–950 ramp

primary
#874ACA
secondary
#B9D39D
accent
#DE4A97
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #874ACA

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

Preview Lab → · Contrast checker → · Palette generator →

#874ACA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva