#874792#874792

#874792 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 50.6% C 0.134 H 321.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#874792
RGBrgb(135, 71, 146)
HSLhsl(291, 35%, 43%)
HSVhsv(291, 51%, 57%)
CMYKcmyk(7.5%, 51.4%, 0%, 42.7%)
CIE-LABlab(40.79, 39.30, -30.08)
CIE-LCHlch(40.79, 49.49, 322.57°)
OKLaboklab(50.59% 0.1048 -0.0831)
OKLCHoklch(50.59% 0.134 321.6)
XYZxyz(17.4326, 11.7334, 28.5351)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874792 #529247
analogous
#624792 #874792 #924777
triadic
#874792 #928747 #479287
tetradic
#874792 #926247 #529247 #477792
square
#874792 #926247 #529247 #477792
split-complementary
#874792 #779247 #479262
monochromatic
#3B1F40 #613369 #874792 #A763B3 #BF8CC7

Accessibility & contrast

On white

6.28
#874792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#874792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874792
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874792#FFFFFF#000000##FFFFFF
##8747921.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5B95
Deuteranopia (green-blind)
#4F6390
Tritanopia (blue-blind)
#885166
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #874792;
/* rgb */ color: rgb(135, 71, 146);
/* oklch */ color: oklch(50.6% 0.134 321.6);
Tailwind
colors: {
  custom: {
    50: '#ac7db2',
    500: '#874792',
    950: '#000000',
  },
}
SCSS
$custom: #874792;
$custom-light: #ac7db2;
$custom-dark: #000000;
JSON
{
  "hex": "#874792",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 291.2,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50589,
    "c": 0.1338,
    "h": 321.6
  },
  "luminance": 0.11733
}

Semantic roles & 50–950 ramp

primary
#874792
secondary
#89B382
accent
#CB5D6D
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #874792

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

Preview Lab → · Contrast checker → · Palette generator →

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