#862E76#862E76

#862E76 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.6% C 0.148 H 335.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#862E76
RGBrgb(134, 46, 118)
HSLhsl(311, 49%, 35%)
HSVhsv(311, 66%, 53%)
CMYKcmyk(0%, 65.7%, 11.9%, 47.5%)
CIE-LABlab(34.66, 46.17, -22.42)
CIE-LCHlch(34.66, 51.33, 334.10°)
OKLaboklab(45.61% 0.1347 -0.061)
OKLCHoklch(45.61% 0.148 335.6)
XYZxyz(14.0787, 8.3315, 18.0027)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862E76 #2E863E
analogous
#6A2E86 #862E76 #862E4A
triadic
#862E76 #76862E #2E7686
tetradic
#862E76 #866A2E #2E863E #2E4A86
square
#862E76 #866A2E #2E863E #2E4A86
split-complementary
#862E76 #4A862E #2E866A
monochromatic
#2B0F26 #581E4E #862E76 #B43E9E #CA64B7

Accessibility & contrast

On white

7.88
#862E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862E76
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862E76#FFFFFF#000000##FFFFFF
##862E761.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4978
Deuteranopia (green-blind)
#4B5674
Tritanopia (blue-blind)
#8D334D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #862e76;
/* rgb */ color: rgb(134, 46, 118);
/* oklch */ color: oklch(45.6% 0.148 335.6);
Tailwind
colors: {
  custom: {
    50: '#ac6d9d',
    500: '#862e76',
    950: '#000000',
  },
}
SCSS
$custom: #862e76;
$custom-light: #ac6d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#862e76",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 310.909,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45608,
    "c": 0.14784,
    "h": 335.6
  },
  "luminance": 0.0833
}

Semantic roles & 50–950 ramp

primary
#862E76
secondary
#5FB16E
accent
#D8684F
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #862E76

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

Preview Lab → · Contrast checker → · Palette generator →

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