#842677#842677

#842677 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.158 H 334.0°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#842677
RGBrgb(132, 38, 119)
HSLhsl(308, 55%, 33%)
HSVhsv(308, 71%, 52%)
CMYKcmyk(0%, 71.2%, 9.8%, 48.2%)
CIE-LABlab(33.19, 49.10, -25.38)
CIE-LCHlch(33.19, 55.27, 332.67°)
OKLaboklab(44.49% 0.1423 -0.0694)
OKLCHoklch(44.49% 0.158 334)
XYZxyz(13.5387, 7.6248, 18.2079)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842677 #268433
analogous
#622684 #842677 #842648
triadic
#842677 #778426 #267784
tetradic
#842677 #846226 #268433 #264884
square
#842677 #846226 #268433 #264884
split-complementary
#842677 #488426 #268462
monochromatic
#250B21 #54184C #842677 #B434A2 #CE56BE

Accessibility & contrast

On white

8.32
#842677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#842677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842677
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842677#FFFFFF#000000##FFFFFF
##8426771.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244579
Deuteranopia (green-blind)
#455375
Tritanopia (blue-blind)
#8A2E4B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #842677;
/* rgb */ color: rgb(132, 38, 119);
/* oklch */ color: oklch(44.5% 0.158 334.0);
Tailwind
colors: {
  custom: {
    50: '#ab699e',
    500: '#842677',
    950: '#000000',
  },
}
SCSS
$custom: #842677;
$custom-light: #ab699e;
$custom-dark: #000000;
JSON
{
  "hex": "#842677",
  "rgb": {
    "r": 132,
    "g": 38,
    "b": 119
  },
  "hsl": {
    "h": 308.298,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44486,
    "c": 0.15835,
    "h": 334
  },
  "luminance": 0.07624
}

Semantic roles & 50–950 ramp

primary
#842677
secondary
#53B360
accent
#DF5E49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842677

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

Preview Lab → · Contrast checker → · Palette generator →

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