#842095#842095

#842095 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.190 H 321.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#842095
RGBrgb(132, 32, 149)
HSLhsl(291, 65%, 35%)
HSVhsv(291, 79%, 58%)
CMYKcmyk(11.4%, 78.5%, 0%, 41.6%)
CIE-LABlab(34.21, 56.49, -42.38)
CIE-LCHlch(34.21, 70.62, 323.13°)
OKLaboklab(45.79% 0.1481 -0.1187)
OKLCHoklch(45.79% 0.19 321.3)
XYZxyz(15.4564, 8.1093, 29.1791)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842095 #319520
analogous
#492095 #842095 #95206B
triadic
#842095 #958420 #209584
tetradic
#842095 #954920 #319520 #206B95
square
#842095 #954920 #319520 #206B95
split-complementary
#842095 #6B9520 #209549
monochromatic
#2B0A30 #571563 #842095 #B12BC7 #C755DA

Accessibility & contrast

On white

8.01
#842095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#842095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842095
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842095#FFFFFF#000000##FFFFFF
##8420951.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#2F5492
Tritanopia (blue-blind)
#85385A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #842095;
/* rgb */ color: rgb(132, 32, 149);
/* oklch */ color: oklch(45.8% 0.190 321.3);
Tailwind
colors: {
  custom: {
    50: '#ac68b5',
    500: '#842095',
    950: '#000000',
  },
}
SCSS
$custom: #842095;
$custom-light: #ac68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#842095",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 291.282,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45785,
    "c": 0.18982,
    "h": 321.3
  },
  "luminance": 0.08108
}

Semantic roles & 50–950 ramp

primary
#842095
secondary
#62BE53
accent
#E84059
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #842095

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

Preview Lab → · Contrast checker → · Palette generator →

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