#873098#873098

#873098 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.9% C 0.175 H 320.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#873098
RGBrgb(135, 48, 152)
HSLhsl(290, 52%, 39%)
HSVhsv(290, 68%, 60%)
CMYKcmyk(11.2%, 68.4%, 0%, 40.4%)
CIE-LABlab(36.99, 51.73, -39.73)
CIE-LCHlch(36.99, 65.22, 322.48°)
OKLaboklab(47.93% 0.1355 -0.111)
OKLCHoklch(47.93% 0.175 320.7)
XYZxyz(16.7155, 9.5326, 30.6592)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873098 #419830
analogous
#533098 #873098 #983075
triadic
#873098 #988730 #309887
tetradic
#873098 #985330 #419830 #307598
square
#873098 #985330 #419830 #307598
split-complementary
#873098 #759830 #309853
monochromatic
#34133B #5E2169 #873098 #AE42C3 #C270D2

Accessibility & contrast

On white

7.23
#873098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #873098
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873098#FFFFFF#000000##FFFFFF
##8730981.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C519B
Deuteranopia (green-blind)
#3A5A95
Tritanopia (blue-blind)
#884260
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #873098;
/* rgb */ color: rgb(135, 48, 152);
/* oklch */ color: oklch(47.9% 0.175 320.7);
Tailwind
colors: {
  custom: {
    50: '#ad70b7',
    500: '#873098',
    950: '#000000',
  },
}
SCSS
$custom: #873098;
$custom-light: #ad70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#873098",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 152
  },
  "hsl": {
    "h": 290.192,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47926,
    "c": 0.17517,
    "h": 320.7
  },
  "luminance": 0.09532
}

Semantic roles & 50–950 ramp

primary
#873098
secondary
#77BA6A
accent
#DB4C64
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #873098

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

Preview Lab → · Contrast checker → · Palette generator →

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