#842296#842296

#842296 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.189 H 320.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#842296
RGBrgb(132, 34, 150)
HSLhsl(291, 63%, 36%)
HSVhsv(291, 77%, 59%)
CMYKcmyk(12%, 77.3%, 0%, 41.2%)
CIE-LABlab(34.50, 56.03, -42.52)
CIE-LCHlch(34.50, 70.33, 322.81°)
OKLaboklab(46.01% 0.1463 -0.1191)
OKLCHoklch(46.01% 0.189 320.8)
XYZxyz(15.5921, 8.2524, 29.6198)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842296 #349622
analogous
#4A2296 #842296 #96226E
triadic
#842296 #968422 #229684
tetradic
#842296 #964A22 #349622 #226E96
square
#842296 #964A22 #349622 #226E96
split-complementary
#842296 #6E9622 #22964A
monochromatic
#2C0B32 #581764 #842296 #B02DC8 #C559D9

Accessibility & contrast

On white

7.92
#842296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#842296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842296
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842296#FFFFFF#000000##FFFFFF
##8422961.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#305593
Tritanopia (blue-blind)
#853A5B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #842296;
/* rgb */ color: rgb(132, 34, 150);
/* oklch */ color: oklch(46.0% 0.189 320.8);
Tailwind
colors: {
  custom: {
    50: '#ab69b5',
    500: '#842296',
    950: '#000000',
  },
}
SCSS
$custom: #842296;
$custom-light: #ab69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#842296",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 290.69,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46014,
    "c": 0.18865,
    "h": 320.8
  },
  "luminance": 0.08252
}

Semantic roles & 50–950 ramp

primary
#842296
secondary
#66BE56
accent
#E6425B
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #842296

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

Preview Lab → · Contrast checker → · Palette generator →

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