#862E77#862E77

#862E77 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.7% C 0.149 H 335.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#862E77
RGBrgb(134, 46, 119)
HSLhsl(310, 49%, 35%)
HSVhsv(310, 66%, 53%)
CMYKcmyk(0%, 65.7%, 11.2%, 47.5%)
CIE-LABlab(34.71, 46.34, -22.97)
CIE-LCHlch(34.71, 51.72, 333.63°)
OKLaboklab(45.66% 0.1348 -0.0626)
OKLCHoklch(45.66% 0.149 335.1)
XYZxyz(14.1384, 8.3554, 18.3173)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862E77 #2E863D
analogous
#692E86 #862E77 #862E4B
triadic
#862E77 #77862E #2E7786
tetradic
#862E77 #86692E #2E863D #2E4B86
square
#862E77 #86692E #2E863D #2E4B86
split-complementary
#862E77 #4B862E #2E8669
monochromatic
#2B0F26 #581E4F #862E77 #B43E9F #CA64B9

Accessibility & contrast

On white

7.86
#862E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#862E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862E77
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862E77#FFFFFF#000000##FFFFFF
##862E771.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4979
Deuteranopia (green-blind)
#4A5675
Tritanopia (blue-blind)
#8C344E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862e77;
/* rgb */ color: rgb(134, 46, 119);
/* oklch */ color: oklch(45.7% 0.149 335.1);
Tailwind
colors: {
  custom: {
    50: '#ac6d9e',
    500: '#862e77',
    950: '#000000',
  },
}
SCSS
$custom: #862e77;
$custom-light: #ac6d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#862e77",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 310.227,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45659,
    "c": 0.14864,
    "h": 335.1
  },
  "luminance": 0.08354
}

Semantic roles & 50–950 ramp

primary
#862E77
secondary
#5FB16D
accent
#D8674F
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #862E77

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

Preview Lab → · Contrast checker → · Palette generator →

#862E77 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva