#842390#842390

#842390 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.182 H 323.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#842390
RGBrgb(132, 35, 144)
HSLhsl(293, 61%, 35%)
HSVhsv(293, 76%, 56%)
CMYKcmyk(8.3%, 75.7%, 0%, 43.5%)
CIE-LABlab(34.24, 54.57, -39.27)
CIE-LCHlch(34.24, 67.23, 324.26°)
OKLaboklab(45.7% 0.1458 -0.1097)
OKLCHoklch(45.7% 0.182 323.1)
XYZxyz(15.1503, 8.1221, 27.1499)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842390 #2F9023
analogous
#4D2390 #842390 #902366
triadic
#842390 #908423 #239084
tetradic
#842390 #904D23 #2F9023 #236690
square
#842390 #904D23 #2F9023 #236690
split-complementary
#842390 #669023 #23904D
monochromatic
#2A0B2E #57175F #842390 #B12FC1 #C857D6

Accessibility & contrast

On white

8.00
#842390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842390
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842390#FFFFFF#000000##FFFFFF
##8423901.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#35548D
Tritanopia (blue-blind)
#863758
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #842390;
/* rgb */ color: rgb(132, 35, 144);
/* oklch */ color: oklch(45.7% 0.182 323.1);
Tailwind
colors: {
  custom: {
    50: '#ab69b1',
    500: '#842390',
    950: '#000000',
  },
}
SCSS
$custom: #842390;
$custom-light: #ab69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#842390",
  "rgb": {
    "r": 132,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 293.394,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45701,
    "c": 0.18247,
    "h": 323.1
  },
  "luminance": 0.08121
}

Semantic roles & 50–950 ramp

primary
#842390
secondary
#60BA54
accent
#E44455
background
#FAF6FA
surface
#F5EBF5
border
#CFC6CF
text
#110711
muted
#807A80

Preview Lab

Preview with #842390

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

Preview Lab → · Contrast checker → · Palette generator →

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