#862F89#862F89

#862F89 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.8% C 0.162 H 326.4°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#862F89
RGBrgb(134, 47, 137)
HSLhsl(298, 49%, 36%)
HSVhsv(298, 66%, 54%)
CMYKcmyk(2.2%, 65.7%, 0%, 46.3%)
CIE-LABlab(35.81, 49.06, -32.44)
CIE-LCHlch(35.81, 58.81, 326.52°)
OKLaboklab(46.76% 0.1353 -0.0898)
OKLCHoklch(46.76% 0.162 326.4)
XYZxyz(15.3631, 8.9085, 24.5724)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F89 #32892F
analogous
#592F89 #862F89 #892F5F
triadic
#862F89 #89862F #2F8986
tetradic
#862F89 #89592F #32892F #2F5F89
square
#862F89 #89592F #32892F #2F5F89
split-complementary
#862F89 #5F892F #2F8959
monochromatic
#2D102E #591F5B #862F89 #B33FB7 #C867CB

Accessibility & contrast

On white

7.55
#862F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#862F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862F89
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F89#FFFFFF#000000##FFFFFF
##862F891.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214D8C
Deuteranopia (green-blind)
#425887
Tritanopia (blue-blind)
#8A3C58
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #862f89;
/* rgb */ color: rgb(134, 47, 137);
/* oklch */ color: oklch(46.8% 0.162 326.4);
Tailwind
colors: {
  custom: {
    50: '#ac6eac',
    500: '#862f89',
    950: '#000000',
  },
}
SCSS
$custom: #862f89;
$custom-light: #ac6eac;
$custom-dark: #000000;
JSON
{
  "hex": "#862f89",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 298,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4676,
    "c": 0.16242,
    "h": 326.4
  },
  "luminance": 0.08908
}

Semantic roles & 50–950 ramp

primary
#862F89
secondary
#64B262
accent
#D84F54
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #862F89

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

Preview Lab → · Contrast checker → · Palette generator →

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