#862E88#862E88

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

Color values

HEX#862E88
RGBrgb(134, 46, 136)
HSLhsl(299, 49%, 36%)
HSVhsv(299, 66%, 53%)
CMYKcmyk(1.5%, 66.2%, 0%, 46.7%)
CIE-LABlab(35.60, 49.30, -32.16)
CIE-LCHlch(35.60, 58.86, 326.89°)
OKLaboklab(46.59% 0.1365 -0.089)
OKLCHoklch(46.59% 0.163 326.9)
XYZxyz(15.2522, 8.8009, 24.1832)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862E88 #30882E
analogous
#592E88 #862E88 #882E5D
triadic
#862E88 #88862E #2E8886
tetradic
#862E88 #88592E #30882E #2E5D88
square
#862E88 #88592E #30882E #2E5D88
split-complementary
#862E88 #5D882E #2E8859
monochromatic
#2C0F2D #591F5A #862E88 #B33DB6 #C965CB

Accessibility & contrast

On white

7.61
#862E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#862E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862E88
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862E88#FFFFFF#000000##FFFFFF
##862E881.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C8B
Deuteranopia (green-blind)
#425886
Tritanopia (blue-blind)
#8A3B57
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #862e88;
/* rgb */ color: rgb(134, 46, 136);
/* oklch */ color: oklch(46.6% 0.163 326.9);
Tailwind
colors: {
  custom: {
    50: '#ac6eab',
    500: '#862e88',
    950: '#000000',
  },
}
SCSS
$custom: #862e88;
$custom-light: #ac6eab;
$custom-dark: #000000;
JSON
{
  "hex": "#862e88",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 298.667,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4659,
    "c": 0.16292,
    "h": 326.9
  },
  "luminance": 0.088
}

Semantic roles & 50–950 ramp

primary
#862E88
secondary
#62B260
accent
#D94F52
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #862E88

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

Preview Lab → · Contrast checker → · Palette generator →

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