#842285#842285

#842285 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.174 H 327.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#842285
RGBrgb(132, 34, 133)
HSLhsl(299, 59%, 33%)
HSVhsv(299, 74%, 52%)
CMYKcmyk(0.8%, 74.4%, 0%, 47.8%)
CIE-LABlab(33.44, 52.94, -33.74)
CIE-LCHlch(33.44, 62.78, 327.49°)
OKLaboklab(44.92% 0.1472 -0.0935)
OKLCHoklch(44.92% 0.174 327.6)
XYZxyz(14.3212, 7.7441, 22.9262)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842285 #238522
analogous
#522285 #842285 #852254
triadic
#842285 #858422 #228584
tetradic
#842285 #855222 #238522 #225485
square
#842285 #855222 #238522 #225485
split-complementary
#842285 #548522 #228552
monochromatic
#230924 #541654 #842285 #B42EB6 #D14FD2

Accessibility & contrast

On white

8.24
#842285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#842285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842285
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842285#FFFFFF#000000##FFFFFF
##8422851.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4788
Deuteranopia (green-blind)
#3C5383
Tritanopia (blue-blind)
#883252
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #842285;
/* rgb */ color: rgb(132, 34, 133);
/* oklch */ color: oklch(44.9% 0.174 327.6);
Tailwind
colors: {
  custom: {
    50: '#ab68a9',
    500: '#842285',
    950: '#000000',
  },
}
SCSS
$custom: #842285;
$custom-light: #ab68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#842285",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 299.394,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4492,
    "c": 0.17441,
    "h": 327.6
  },
  "luminance": 0.07743
}

Semantic roles & 50–950 ramp

primary
#842285
secondary
#4EB64D
accent
#E24547
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #842285

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

Preview Lab → · Contrast checker → · Palette generator →

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