#874B95#874B95

#874B95 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 51.4% C 0.130 H 319.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#874B95
RGBrgb(135, 75, 149)
HSLhsl(289, 33%, 44%)
HSVhsv(289, 50%, 58%)
CMYKcmyk(9.4%, 49.7%, 0%, 41.6%)
CIE-LABlab(41.77, 37.75, -30.34)
CIE-LCHlch(41.77, 48.43, 321.21°)
OKLaboklab(51.37% 0.0994 -0.0839)
OKLCHoklch(51.37% 0.13 319.8)
XYZxyz(17.9319, 12.3537, 29.8679)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874B95 #59954B
analogous
#624B95 #874B95 #954B7E
triadic
#874B95 #95874B #4B9587
tetradic
#874B95 #95624B #59954B #4B7E95
square
#874B95 #95624B #59954B #4B7E95
split-complementary
#874B95 #7E954B #4B9562
monochromatic
#3D2244 #62376C #874B95 #A669B4 #BE92C8

Accessibility & contrast

On white

6.05
#874B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#874B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874B95
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874B95#FFFFFF#000000##FFFFFF
##874B951.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5E98
Deuteranopia (green-blind)
#506593
Tritanopia (blue-blind)
#885569
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #874b95;
/* rgb */ color: rgb(135, 75, 149);
/* oklch */ color: oklch(51.4% 0.130 319.8);
Tailwind
colors: {
  custom: {
    50: '#ac7fb4',
    500: '#874b95',
    950: '#000000',
  },
}
SCSS
$custom: #874b95;
$custom-light: #ac7fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#874b95",
  "rgb": {
    "r": 135,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 288.649,
    "s": 33.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51366,
    "c": 0.13007,
    "h": 319.8
  },
  "luminance": 0.12353
}

Semantic roles & 50–950 ramp

primary
#874B95
secondary
#90B487
accent
#C95F73
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #874B95

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

Preview Lab → · Contrast checker → · Palette generator →

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