#875299#875299

#875299 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 52.7% C 0.122 H 317.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#875299
RGBrgb(135, 82, 153)
HSLhsl(285, 30%, 46%)
HSVhsv(285, 46%, 60%)
CMYKcmyk(11.8%, 46.4%, 0%, 40%)
CIE-LABlab(43.49, 34.70, -30.06)
CIE-LCHlch(43.49, 45.91, 319.10°)
OKLaboklab(52.71% 0.0895 -0.0832)
OKLCHoklch(52.71% 0.122 317.1)
XYZxyz(18.7579, 13.4860, 31.7458)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875299 #649952
analogous
#635299 #875299 #995287
triadic
#875299 #998752 #529987
tetradic
#875299 #996352 #649952 #528799
square
#875299 #996352 #649952 #528799
split-complementary
#875299 #879952 #529963
monochromatic
#412749 #643D71 #875299 #A474B4 #BE9CCA

Accessibility & contrast

On white

5.68
#875299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#875299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875299
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875299#FFFFFF#000000##FFFFFF
##8752991.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46639C
Deuteranopia (green-blind)
#546897
Tritanopia (blue-blind)
#875C6E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #875299;
/* rgb */ color: rgb(135, 82, 153);
/* oklch */ color: oklch(52.7% 0.122 317.1);
Tailwind
colors: {
  custom: {
    50: '#ab84b7',
    500: '#875299',
    950: '#000000',
  },
}
SCSS
$custom: #875299;
$custom-light: #ab84b7;
$custom-dark: #000000;
JSON
{
  "hex": "#875299",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 284.789,
    "s": 30.213,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52706,
    "c": 0.12219,
    "h": 317.1
  },
  "luminance": 0.13485
}

Semantic roles & 50–950 ramp

primary
#875299
secondary
#9AB790
accent
#C6617B
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #875299

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

Preview Lab → · Contrast checker → · Palette generator →

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