#862E75#862E75

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

Color values

HEX#862E75
RGBrgb(134, 46, 117)
HSLhsl(312, 49%, 35%)
HSVhsv(312, 66%, 53%)
CMYKcmyk(0%, 65.7%, 12.7%, 47.5%)
CIE-LABlab(34.62, 46.01, -21.87)
CIE-LCHlch(34.62, 50.94, 334.58°)
OKLaboklab(45.56% 0.1345 -0.0594)
OKLCHoklch(45.56% 0.147 336.2)
XYZxyz(14.0196, 8.3078, 17.6914)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862E75 #2E863F
analogous
#6B2E86 #862E75 #862E49
triadic
#862E75 #75862E #2E7586
tetradic
#862E75 #866B2E #2E863F #2E4986
square
#862E75 #866B2E #2E863F #2E4986
split-complementary
#862E75 #49862E #2E866B
monochromatic
#2B0F25 #581E4D #862E75 #B43E9D #CA64B6

Accessibility & contrast

On white

7.89
#862E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#862E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862E75
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862E75#FFFFFF#000000##FFFFFF
##862E751.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #862e75;
/* rgb */ color: rgb(134, 46, 117);
/* oklch */ color: oklch(45.6% 0.147 336.2);
Tailwind
colors: {
  custom: {
    50: '#ac6d9d',
    500: '#862e75',
    950: '#000000',
  },
}
SCSS
$custom: #862e75;
$custom-light: #ac6d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#862e75",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 311.591,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45557,
    "c": 0.14706,
    "h": 336.2
  },
  "luminance": 0.08307
}

Semantic roles & 50–950 ramp

primary
#862E75
secondary
#5FB16F
accent
#D86A4F
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #862E75

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

Preview Lab → · Contrast checker → · Palette generator →

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