#862477#862477

#862477 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.6% C 0.162 H 334.8°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#862477
RGBrgb(134, 36, 119)
HSLhsl(309, 58%, 33%)
HSVhsv(309, 73%, 53%)
CMYKcmyk(0%, 73.1%, 11.2%, 47.5%)
CIE-LABlab(33.27, 50.37, -25.22)
CIE-LCHlch(33.27, 56.33, 333.40°)
OKLaboklab(44.61% 0.1467 -0.0689)
OKLCHoklch(44.61% 0.162 334.8)
XYZxyz(13.7923, 7.6632, 18.2019)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862477 #248633
analogous
#642486 #862477 #862446
triadic
#862477 #778624 #247786
tetradic
#862477 #866424 #248633 #244686
square
#862477 #866424 #248633 #244686
split-complementary
#862477 #468624 #248664
monochromatic
#260A21 #56174C #862477 #B631A2 #D153BE

Accessibility & contrast

On white

8.29
#862477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#862477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862477
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862477#FFFFFF#000000##FFFFFF
##8624771.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234579
Deuteranopia (green-blind)
#465375
Tritanopia (blue-blind)
#8D2C4A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #862477;
/* rgb */ color: rgb(134, 36, 119);
/* oklch */ color: oklch(44.6% 0.162 334.8);
Tailwind
colors: {
  custom: {
    50: '#ac699e',
    500: '#862477',
    950: '#000000',
  },
}
SCSS
$custom: #862477;
$custom-light: #ac699e;
$custom-dark: #000000;
JSON
{
  "hex": "#862477",
  "rgb": {
    "r": 134,
    "g": 36,
    "b": 119
  },
  "hsl": {
    "h": 309.184,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44613,
    "c": 0.1621,
    "h": 334.8
  },
  "luminance": 0.07662
}

Semantic roles & 50–950 ramp

primary
#862477
secondary
#51B560
accent
#E15E47
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #862477

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

Preview Lab → · Contrast checker → · Palette generator →

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