#842385#842385

#842385 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.173 H 327.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#842385
RGBrgb(132, 35, 133)
HSLhsl(299, 58%, 33%)
HSVhsv(299, 74%, 52%)
CMYKcmyk(0.8%, 73.7%, 0%, 47.8%)
CIE-LABlab(33.57, 52.59, -33.54)
CIE-LCHlch(33.57, 62.37, 327.47°)
OKLaboklab(45.01% 0.1462 -0.093)
OKLCHoklch(45.01% 0.173 327.6)
XYZxyz(14.3502, 7.8021, 22.9359)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842385 #248523
analogous
#532385 #842385 #852355
triadic
#842385 #858423 #238584
tetradic
#842385 #855323 #248523 #235585
square
#842385 #855323 #248523 #235585
split-complementary
#842385 #558523 #238553
monochromatic
#240924 #541655 #842385 #B430B5 #D051D1

Accessibility & contrast

On white

8.20
#842385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#842385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842385
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842385#FFFFFF#000000##FFFFFF
##8423851.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #842385;
/* rgb */ color: rgb(132, 35, 133);
/* oklch */ color: oklch(45.0% 0.173 327.6);
Tailwind
colors: {
  custom: {
    50: '#ab68a9',
    500: '#842385',
    950: '#000000',
  },
}
SCSS
$custom: #842385;
$custom-light: #ab68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#842385",
  "rgb": {
    "r": 132,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 299.388,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45009,
    "c": 0.17327,
    "h": 327.6
  },
  "luminance": 0.07801
}

Semantic roles & 50–950 ramp

primary
#842385
secondary
#50B54F
accent
#E24648
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #842385

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

Preview Lab → · Contrast checker → · Palette generator →

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