#873294#873294

#873294 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.9% C 0.169 H 322.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#873294
RGBrgb(135, 50, 148)
HSLhsl(292, 49%, 39%)
HSVhsv(292, 66%, 58%)
CMYKcmyk(8.8%, 66.2%, 0%, 42%)
CIE-LABlab(37.06, 50.08, -37.18)
CIE-LCHlch(37.06, 62.37, 323.41°)
OKLaboklab(47.9% 0.1332 -0.1036)
OKLCHoklch(47.9% 0.169 322.1)
XYZxyz(16.4770, 9.5711, 28.9907)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873294 #3F9432
analogous
#563294 #873294 #943270
triadic
#873294 #948732 #329487
tetradic
#873294 #945632 #3F9432 #327094
square
#873294 #945632 #3F9432 #327094
split-complementary
#873294 #709432 #329456
monochromatic
#341339 #5D2366 #873294 #AF44C0 #C371CF

Accessibility & contrast

On white

7.21
#873294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#873294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #873294
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873294#FFFFFF#000000##FFFFFF
##8732941.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195197
Deuteranopia (green-blind)
#3F5A92
Tritanopia (blue-blind)
#89425F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #873294;
/* rgb */ color: rgb(135, 50, 148);
/* oklch */ color: oklch(47.9% 0.169 322.1);
Tailwind
colors: {
  custom: {
    50: '#ad71b4',
    500: '#873294',
    950: '#000000',
  },
}
SCSS
$custom: #873294;
$custom-light: #ad71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#873294",
  "rgb": {
    "r": 135,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 292.041,
    "s": 49.495,
    "l": 38.824
  },
  "oklch": {
    "l": 0.479,
    "c": 0.16875,
    "h": 322.1
  },
  "luminance": 0.0957
}

Semantic roles & 50–950 ramp

primary
#873294
secondary
#75B76B
accent
#D94F61
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #873294

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

Preview Lab → · Contrast checker → · Palette generator →

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