#862A77#862A77

#862A77 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.2% C 0.154 H 335.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#862A77
RGBrgb(134, 42, 119)
HSLhsl(310, 52%, 35%)
HSVhsv(310, 69%, 53%)
CMYKcmyk(0%, 68.7%, 11.2%, 47.5%)
CIE-LABlab(34.10, 48.04, -23.92)
CIE-LCHlch(34.10, 53.66, 333.52°)
OKLaboklab(45.22% 0.1398 -0.0652)
OKLCHoklch(45.22% 0.154 335)
XYZxyz(13.9894, 8.0573, 18.2676)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A77 #2A8639
analogous
#672A86 #862A77 #862A49
triadic
#862A77 #77862A #2A7786
tetradic
#862A77 #86672A #2A8639 #2A4986
square
#862A77 #86672A #2A8639 #2A4986
split-complementary
#862A77 #49862A #2A8667
monochromatic
#290D24 #571B4E #862A77 #B539A0 #CD5EBA

Accessibility & contrast

On white

8.04
#862A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#862A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862A77
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A77#FFFFFF#000000##FFFFFF
##862A771.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4779
Deuteranopia (green-blind)
#485575
Tritanopia (blue-blind)
#8D304C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #862a77;
/* rgb */ color: rgb(134, 42, 119);
/* oklch */ color: oklch(45.2% 0.154 335.0);
Tailwind
colors: {
  custom: {
    50: '#ac6b9e',
    500: '#862a77',
    950: '#000000',
  },
}
SCSS
$custom: #862a77;
$custom-light: #ac6b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#862a77",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 119
  },
  "hsl": {
    "h": 309.783,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45215,
    "c": 0.1543,
    "h": 335
  },
  "luminance": 0.08056
}

Semantic roles & 50–950 ramp

primary
#862A77
secondary
#5AB268
accent
#DC644C
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #862A77

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

Preview Lab → · Contrast checker → · Palette generator →

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