#862F75#862F75

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

Color values

HEX#862F75
RGBrgb(134, 47, 117)
HSLhsl(312, 48%, 35%)
HSVhsv(312, 65%, 53%)
CMYKcmyk(0%, 64.9%, 12.7%, 47.5%)
CIE-LABlab(34.78, 45.57, -21.62)
CIE-LCHlch(34.78, 50.43, 334.62°)
OKLaboklab(45.67% 0.1332 -0.0587)
OKLCHoklch(45.67% 0.146 336.2)
XYZxyz(14.0591, 8.3869, 17.7045)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F75 #2F8640
analogous
#6B2F86 #862F75 #862F49
triadic
#862F75 #75862F #2F7586
tetradic
#862F75 #866B2F #2F8640 #2F4986
square
#862F75 #866B2F #2F8640 #2F4986
split-complementary
#862F75 #49862F #2F866B
monochromatic
#2B0F26 #591F4D #862F75 #B33F9D #C966B6

Accessibility & contrast

On white

7.84
#862F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862F75
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F75#FFFFFF#000000##FFFFFF
##862F751.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304977
Deuteranopia (green-blind)
#4C5773
Tritanopia (blue-blind)
#8D344D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862f75;
/* rgb */ color: rgb(134, 47, 117);
/* oklch */ color: oklch(45.7% 0.146 336.2);
Tailwind
colors: {
  custom: {
    50: '#ac6e9d',
    500: '#862f75',
    950: '#000000',
  },
}
SCSS
$custom: #862f75;
$custom-light: #ac6e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#862f75",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 117
  },
  "hsl": {
    "h": 311.724,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45674,
    "c": 0.14558,
    "h": 336.2
  },
  "luminance": 0.08386
}

Semantic roles & 50–950 ramp

primary
#862F75
secondary
#60B070
accent
#D86B50
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #862F75

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

Preview Lab → · Contrast checker → · Palette generator →

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