#842693#842693

#842693 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.182 H 321.8°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#842693
RGBrgb(132, 38, 147)
HSLhsl(292, 59%, 36%)
HSVhsv(292, 74%, 58%)
CMYKcmyk(10.2%, 74.1%, 0%, 42.4%)
CIE-LABlab(34.80, 54.05, -40.20)
CIE-LCHlch(34.80, 67.37, 323.36°)
OKLaboklab(46.16% 0.1427 -0.1124)
OKLCHoklch(46.16% 0.182 321.8)
XYZxyz(15.4747, 8.3992, 28.4042)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842693 #359326
analogous
#4E2693 #842693 #93266C
triadic
#842693 #938426 #269384
tetradic
#842693 #934E26 #359326 #266C93
square
#842693 #934E26 #359326 #266C93
split-complementary
#842693 #6C9326 #26934E
monochromatic
#2D0D32 #581962 #842693 #B033C4 #C55ED5

Accessibility & contrast

On white

7.84
#842693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#842693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842693
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842693#FFFFFF#000000##FFFFFF
##8426931.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#345590
Tritanopia (blue-blind)
#853A5A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #842693;
/* rgb */ color: rgb(132, 38, 147);
/* oklch */ color: oklch(46.2% 0.182 321.8);
Tailwind
colors: {
  custom: {
    50: '#ab6ab3',
    500: '#842693',
    950: '#000000',
  },
}
SCSS
$custom: #842693;
$custom-light: #ab6ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#842693",
  "rgb": {
    "r": 132,
    "g": 38,
    "b": 147
  },
  "hsl": {
    "h": 291.743,
    "s": 58.919,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46164,
    "c": 0.18169,
    "h": 321.8
  },
  "luminance": 0.08398
}

Semantic roles & 50–950 ramp

primary
#842693
secondary
#68BA5A
accent
#E2465B
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #842693

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

Preview Lab → · Contrast checker → · Palette generator →

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