#842585#842585

#842585 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.171 H 327.5°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#842585
RGBrgb(132, 37, 133)
HSLhsl(299, 56%, 33%)
HSVhsv(299, 72%, 52%)
CMYKcmyk(0.8%, 72.2%, 0%, 47.8%)
CIE-LABlab(33.82, 51.86, -33.13)
CIE-LCHlch(33.82, 61.55, 327.43°)
OKLaboklab(45.19% 0.1442 -0.0918)
OKLCHoklch(45.19% 0.171 327.5)
XYZxyz(14.4107, 7.9231, 22.9561)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842585 #268525
analogous
#542585 #842585 #852556
triadic
#842585 #858425 #258584
tetradic
#842585 #855425 #268525 #255685
square
#842585 #855425 #268525 #255685
split-complementary
#842585 #568525 #258554
monochromatic
#250A25 #541855 #842585 #B432B5 #CE55D0

Accessibility & contrast

On white

8.13
#842585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#842585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842585
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842585#FFFFFF#000000##FFFFFF
##8425851.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134888
Deuteranopia (green-blind)
#3D5483
Tritanopia (blue-blind)
#883452
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #842585;
/* rgb */ color: rgb(132, 37, 133);
/* oklch */ color: oklch(45.2% 0.171 327.5);
Tailwind
colors: {
  custom: {
    50: '#ab69a9',
    500: '#842585',
    950: '#000000',
  },
}
SCSS
$custom: #842585;
$custom-light: #ab69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#842585",
  "rgb": {
    "r": 132,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 299.375,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45191,
    "c": 0.17092,
    "h": 327.5
  },
  "luminance": 0.07922
}

Semantic roles & 50–950 ramp

primary
#842585
secondary
#53B452
accent
#E0484A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #842585

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

Preview Lab → · Contrast checker → · Palette generator →

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