#873097#873097

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

Color values

HEX#873097
RGBrgb(135, 48, 151)
HSLhsl(291, 52%, 39%)
HSVhsv(291, 68%, 59%)
CMYKcmyk(10.6%, 68.2%, 0%, 40.8%)
CIE-LABlab(36.93, 51.53, -39.22)
CIE-LCHlch(36.93, 64.76, 322.73°)
OKLaboklab(47.86% 0.1355 -0.1095)
OKLCHoklch(47.86% 0.174 321.1)
XYZxyz(16.6339, 9.5000, 30.2297)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873097 #409730
analogous
#543097 #873097 #973074
triadic
#873097 #978730 #309787
tetradic
#873097 #975430 #409730 #307497
square
#873097 #975430 #409730 #307497
split-complementary
#873097 #749730 #309754
monochromatic
#34123A #5D2169 #873097 #AF41C3 #C270D2

Accessibility & contrast

On white

7.24
#873097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#873097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #873097
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873097#FFFFFF#000000##FFFFFF
##8730971.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F519A
Deuteranopia (green-blind)
#3B5A94
Tritanopia (blue-blind)
#88425F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #873097;
/* rgb */ color: rgb(135, 48, 151);
/* oklch */ color: oklch(47.9% 0.174 321.1);
Tailwind
colors: {
  custom: {
    50: '#ad70b6',
    500: '#873097',
    950: '#000000',
  },
}
SCSS
$custom: #873097;
$custom-light: #ad70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#873097",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 290.68,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47863,
    "c": 0.17424,
    "h": 321.1
  },
  "luminance": 0.09499
}

Semantic roles & 50–950 ramp

primary
#873097
secondary
#76B96A
accent
#DB4D63
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #873097

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

Preview Lab → · Contrast checker → · Palette generator →

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