#874591#874591

#874591 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.2% C 0.136 H 322.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#874591
RGBrgb(135, 69, 145)
HSLhsl(292, 36%, 42%)
HSVhsv(292, 52%, 57%)
CMYKcmyk(6.9%, 52.4%, 0%, 43.1%)
CIE-LABlab(40.33, 40.17, -30.19)
CIE-LCHlch(40.33, 50.25, 323.07°)
OKLaboklab(50.24% 0.1076 -0.0834)
OKLCHoklch(50.24% 0.136 322.2)
XYZxyz(17.2301, 11.4522, 28.0855)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874591 #4F9145
analogous
#614591 #874591 #914575
triadic
#874591 #918745 #459187
tetradic
#874591 #916145 #4F9145 #457591
square
#874591 #916145 #4F9145 #457591
split-complementary
#874591 #759145 #459161
monochromatic
#3A1E3E #603168 #874591 #A860B3 #BF89C7

Accessibility & contrast

On white

6.38
#874591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#874591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874591
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874591#FFFFFF#000000##FFFFFF
##8745911.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395A94
Deuteranopia (green-blind)
#4E628F
Tritanopia (blue-blind)
#894F64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #874591;
/* rgb */ color: rgb(135, 69, 145);
/* oklch */ color: oklch(50.2% 0.136 322.2);
Tailwind
colors: {
  custom: {
    50: '#ac7bb1',
    500: '#874591',
    950: '#000000',
  },
}
SCSS
$custom: #874591;
$custom-light: #ac7bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#874591",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 292.105,
    "s": 35.514,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50235,
    "c": 0.13618,
    "h": 322.2
  },
  "luminance": 0.11451
}

Semantic roles & 50–950 ramp

primary
#874591
secondary
#86B280
accent
#CC5C6B
background
#FAF7FA
surface
#F4EEF5
border
#CEC9CF
text
#100911
muted
#7F7B80

Preview Lab

Preview with #874591

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

Preview Lab → · Contrast checker → · Palette generator →

#874591 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva