#862F77#862F77

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

Color values

HEX#862F77
RGBrgb(134, 47, 119)
HSLhsl(310, 48%, 35%)
HSVhsv(310, 65%, 53%)
CMYKcmyk(0%, 64.9%, 11.2%, 47.5%)
CIE-LABlab(34.87, 45.90, -22.72)
CIE-LCHlch(34.87, 51.21, 333.66°)
OKLaboklab(45.78% 0.1335 -0.0619)
OKLCHoklch(45.78% 0.147 335.1)
XYZxyz(14.1779, 8.4344, 18.3305)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F77 #2F863E
analogous
#692F86 #862F77 #862F4B
triadic
#862F77 #77862F #2F7786
tetradic
#862F77 #86692F #2F863E #2F4B86
square
#862F77 #86692F #2F863E #2F4B86
split-complementary
#862F77 #4B862F #2F8669
monochromatic
#2B0F27 #591F4F #862F77 #B33F9F #C966B8

Accessibility & contrast

On white

7.82
#862F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#862F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862F77
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F77#FFFFFF#000000##FFFFFF
##862F771.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4A79
Deuteranopia (green-blind)
#4B5775
Tritanopia (blue-blind)
#8C354E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862f77;
/* rgb */ color: rgb(134, 47, 119);
/* oklch */ color: oklch(45.8% 0.147 335.1);
Tailwind
colors: {
  custom: {
    50: '#ac6e9e',
    500: '#862f77',
    950: '#000000',
  },
}
SCSS
$custom: #862f77;
$custom-light: #ac6e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#862f77",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 119
  },
  "hsl": {
    "h": 310.345,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45775,
    "c": 0.14717,
    "h": 335.1
  },
  "luminance": 0.08433
}

Semantic roles & 50–950 ramp

primary
#862F77
secondary
#60B06E
accent
#D86850
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #862F77

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

Preview Lab → · Contrast checker → · Palette generator →

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