#842695#842695

#842695 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.183 H 321.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#842695
RGBrgb(132, 38, 149)
HSLhsl(291, 59%, 37%)
HSVhsv(291, 74%, 58%)
CMYKcmyk(11.4%, 74.5%, 0%, 41.6%)
CIE-LABlab(34.93, 54.43, -41.22)
CIE-LCHlch(34.93, 68.28, 322.86°)
OKLaboklab(46.3% 0.1426 -0.1154)
OKLCHoklch(46.3% 0.183 321)
XYZxyz(15.6330, 8.4625, 29.2379)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842695 #379526
analogous
#4D2695 #842695 #95266F
triadic
#842695 #958426 #269584
tetradic
#842695 #954D26 #379526 #266F95
square
#842695 #954D26 #379526 #266F95
split-complementary
#842695 #6F9526 #26954D
monochromatic
#2E0D33 #591A64 #842695 #AF32C6 #C45FD6

Accessibility & contrast

On white

7.80
#842695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#842695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842695
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842695#FFFFFF#000000##FFFFFF
##8426951.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#335592
Tritanopia (blue-blind)
#853B5C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #842695;
/* rgb */ color: rgb(132, 38, 149);
/* oklch */ color: oklch(46.3% 0.183 321.0);
Tailwind
colors: {
  custom: {
    50: '#ab6ab5',
    500: '#842695',
    950: '#000000',
  },
}
SCSS
$custom: #842695;
$custom-light: #ab6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#842695",
  "rgb": {
    "r": 132,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 290.811,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46296,
    "c": 0.18344,
    "h": 321
  },
  "luminance": 0.08462
}

Semantic roles & 50–950 ramp

primary
#842695
secondary
#6ABB5B
accent
#E3455D
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #842695

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

Preview Lab → · Contrast checker → · Palette generator →

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