#842085#842085

#842085 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.177 H 327.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#842085
RGBrgb(132, 32, 133)
HSLhsl(299, 61%, 32%)
HSVhsv(299, 76%, 52%)
CMYKcmyk(0.8%, 75.9%, 0%, 47.8%)
CIE-LABlab(33.21, 53.62, -34.11)
CIE-LCHlch(33.21, 63.55, 327.54°)
OKLaboklab(44.75% 0.1491 -0.0946)
OKLCHoklch(44.75% 0.177 327.6)
XYZxyz(14.2657, 7.6330, 22.9077)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842085 #218520
analogous
#522085 #842085 #852054
triadic
#842085 #858420 #208584
tetradic
#842085 #855220 #218520 #205485
square
#842085 #855220 #218520 #205485
split-complementary
#842085 #548520 #208552
monochromatic
#220822 #531454 #842085 #B52CB6 #D24CD4

Accessibility & contrast

On white

8.31
#842085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#842085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842085
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842085#FFFFFF#000000##FFFFFF
##8420851.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084688
Deuteranopia (green-blind)
#3B5383
Tritanopia (blue-blind)
#883051
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #842085;
/* rgb */ color: rgb(132, 32, 133);
/* oklch */ color: oklch(44.8% 0.177 327.6);
Tailwind
colors: {
  custom: {
    50: '#ab67a9',
    500: '#842085',
    950: '#000000',
  },
}
SCSS
$custom: #842085;
$custom-light: #ab67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#842085",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 299.406,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44751,
    "c": 0.17661,
    "h": 327.6
  },
  "luminance": 0.07632
}

Semantic roles & 50–950 ramp

primary
#842085
secondary
#4BB74A
accent
#E44345
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #842085

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

Preview Lab → · Contrast checker → · Palette generator →

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