#862E90#862E90

#862E90 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.1% C 0.170 H 323.5°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#862E90
RGBrgb(134, 46, 144)
HSLhsl(294, 52%, 37%)
HSVhsv(294, 68%, 56%)
CMYKcmyk(6.9%, 68.1%, 0%, 43.5%)
CIE-LABlab(36.06, 50.79, -36.35)
CIE-LCHlch(36.06, 62.46, 324.41°)
OKLaboklab(47.07% 0.1367 -0.1012)
OKLCHoklch(47.07% 0.17 323.5)
XYZxyz(15.8421, 9.0368, 27.2900)
Luminance0.0904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862E90 #38902E
analogous
#552E90 #862E90 #902E69
triadic
#862E90 #90862E #2E9086
tetradic
#862E90 #90552E #38902E #2E6990
square
#862E90 #90552E #38902E #2E6990
split-complementary
#862E90 #69902E #2E9055
monochromatic
#301033 #5B1F62 #862E90 #B13DBE #C569CF

Accessibility & contrast

On white

7.48
#862E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#862E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862E90
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862E90#FFFFFF#000000##FFFFFF
##862E901.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164E93
Deuteranopia (green-blind)
#3E588E
Tritanopia (blue-blind)
#883E5B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #862e90;
/* rgb */ color: rgb(134, 46, 144);
/* oklch */ color: oklch(47.1% 0.170 323.5);
Tailwind
colors: {
  custom: {
    50: '#ac6eb1',
    500: '#862e90',
    950: '#000000',
  },
}
SCSS
$custom: #862e90;
$custom-light: #ac6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#862e90",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 293.878,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47068,
    "c": 0.17004,
    "h": 323.5
  },
  "luminance": 0.09036
}

Semantic roles & 50–950 ramp

primary
#862E90
secondary
#6CB664
accent
#DB4D5B
background
#FAF6FA
surface
#F5ECF5
border
#CFC7CF
text
#110811
muted
#807B80

Preview Lab

Preview with #862E90

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

Preview Lab → · Contrast checker → · Palette generator →

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