#862E89#862E89

#862E89 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.6% C 0.164 H 326.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#862E89
RGBrgb(134, 46, 137)
HSLhsl(298, 50%, 36%)
HSVhsv(298, 66%, 54%)
CMYKcmyk(2.2%, 66.4%, 0%, 46.3%)
CIE-LABlab(35.65, 49.49, -32.69)
CIE-LCHlch(35.65, 59.31, 326.55°)
OKLaboklab(46.65% 0.1365 -0.0905)
OKLCHoklch(46.65% 0.164 326.5)
XYZxyz(15.3236, 8.8294, 24.5592)
Luminance0.0883 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862E89 #31892E
analogous
#582E89 #862E89 #892E5E
triadic
#862E89 #89862E #2E8986
tetradic
#862E89 #89582E #31892E #2E5E89
square
#862E89 #89582E #31892E #2E5E89
split-complementary
#862E89 #5E892E #2E8958
monochromatic
#2C0F2D #591F5B #862E89 #B33DB7 #C866CC

Accessibility & contrast

On white

7.59
#862E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#862E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862E89
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862E89#FFFFFF#000000##FFFFFF
##862E891.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4D8C
Deuteranopia (green-blind)
#425887
Tritanopia (blue-blind)
#8A3B57
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #862e89;
/* rgb */ color: rgb(134, 46, 137);
/* oklch */ color: oklch(46.6% 0.164 326.5);
Tailwind
colors: {
  custom: {
    50: '#ac6eac',
    500: '#862e89',
    950: '#000000',
  },
}
SCSS
$custom: #862e89;
$custom-light: #ac6eac;
$custom-dark: #000000;
JSON
{
  "hex": "#862e89",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 298.022,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46649,
    "c": 0.1638,
    "h": 326.5
  },
  "luminance": 0.08828
}

Semantic roles & 50–950 ramp

primary
#862E89
secondary
#63B260
accent
#D94F53
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #862E89

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

Preview Lab → · Contrast checker → · Palette generator →

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