#873095#873095

#873095 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.7% C 0.172 H 321.8°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#873095
RGBrgb(135, 48, 149)
HSLhsl(292, 51%, 39%)
HSVhsv(292, 68%, 58%)
CMYKcmyk(9.4%, 67.8%, 0%, 41.6%)
CIE-LABlab(36.81, 51.14, -38.19)
CIE-LCHlch(36.81, 63.83, 323.25°)
OKLaboklab(47.74% 0.1356 -0.1065)
OKLCHoklch(47.74% 0.172 321.8)
XYZxyz(16.4729, 9.4356, 29.3815)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873095 #3E9530
analogous
#543095 #873095 #953070
triadic
#873095 #958730 #309587
tetradic
#873095 #955430 #3E9530 #307095
square
#873095 #955430 #3E9530 #307095
split-complementary
#873095 #709530 #309554
monochromatic
#331238 #5D2167 #873095 #B041C2 #C36FD1

Accessibility & contrast

On white

7.27
#873095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#873095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #873095
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873095#FFFFFF#000000##FFFFFF
##8730951.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135098
Deuteranopia (green-blind)
#3C5A92
Tritanopia (blue-blind)
#89415E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #873095;
/* rgb */ color: rgb(135, 48, 149);
/* oklch */ color: oklch(47.7% 0.172 321.8);
Tailwind
colors: {
  custom: {
    50: '#ad70b5',
    500: '#873095',
    950: '#000000',
  },
}
SCSS
$custom: #873095;
$custom-light: #ad70b5;
$custom-dark: #000000;
JSON
{
  "hex": "#873095",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 149
  },
  "hsl": {
    "h": 291.683,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47738,
    "c": 0.1724,
    "h": 321.8
  },
  "luminance": 0.09435
}

Semantic roles & 50–950 ramp

primary
#873095
secondary
#74B869
accent
#DB4D61
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #873095

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

Preview Lab → · Contrast checker → · Palette generator →

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