#862F76#862F76

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

Color values

HEX#862F76
RGBrgb(134, 47, 118)
HSLhsl(311, 48%, 35%)
HSVhsv(311, 65%, 53%)
CMYKcmyk(0%, 64.9%, 11.9%, 47.5%)
CIE-LABlab(34.82, 45.73, -22.17)
CIE-LCHlch(34.82, 50.82, 334.14°)
OKLaboklab(45.73% 0.1334 -0.0603)
OKLCHoklch(45.73% 0.146 335.7)
XYZxyz(14.1182, 8.4105, 18.0158)
Luminance0.0841 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F76 #2F863F
analogous
#6A2F86 #862F76 #862F4B
triadic
#862F76 #76862F #2F7686
tetradic
#862F76 #866A2F #2F863F #2F4B86
square
#862F76 #866A2F #2F863F #2F4B86
split-complementary
#862F76 #4B862F #2F866A
monochromatic
#2B0F26 #591F4E #862F76 #B33F9E #C966B7

Accessibility & contrast

On white

7.83
#862F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#862F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862F76
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F76#FFFFFF#000000##FFFFFF
##862F761.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304A78
Deuteranopia (green-blind)
#4B5774
Tritanopia (blue-blind)
#8D344E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862f76;
/* rgb */ color: rgb(134, 47, 118);
/* oklch */ color: oklch(45.7% 0.146 335.7);
Tailwind
colors: {
  custom: {
    50: '#ac6e9d',
    500: '#862f76',
    950: '#000000',
  },
}
SCSS
$custom: #862f76;
$custom-light: #ac6e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#862f76",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 311.034,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45725,
    "c": 0.14637,
    "h": 335.7
  },
  "luminance": 0.08409
}

Semantic roles & 50–950 ramp

primary
#862F76
secondary
#60B06F
accent
#D86950
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #862F76

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

Preview Lab → · Contrast checker → · Palette generator →

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