#862F91#862F91

#862F91 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.170 H 323.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#862F91
RGBrgb(134, 47, 145)
HSLhsl(293, 51%, 38%)
HSVhsv(293, 68%, 57%)
CMYKcmyk(7.6%, 67.6%, 0%, 43.1%)
CIE-LABlab(36.27, 50.56, -36.63)
CIE-LCHlch(36.27, 62.43, 324.08°)
OKLaboklab(47.24% 0.1355 -0.102)
OKLCHoklch(47.24% 0.17 323)
XYZxyz(15.9584, 9.1466, 27.7075)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F91 #3A912F
analogous
#552F91 #862F91 #912F6B
triadic
#862F91 #91862F #2F9186
tetradic
#862F91 #91552F #3A912F #2F6B91
square
#862F91 #91552F #3A912F #2F6B91
split-complementary
#862F91 #6B912F #2F9155
monochromatic
#311135 #5B2063 #862F91 #B13EBF #C46BCF

Accessibility & contrast

On white

7.42
#862F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#862F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862F91
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F91#FFFFFF#000000##FFFFFF
##862F911.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164F94
Deuteranopia (green-blind)
#3E598F
Tritanopia (blue-blind)
#883F5C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #862f91;
/* rgb */ color: rgb(134, 47, 145);
/* oklch */ color: oklch(47.2% 0.170 323.0);
Tailwind
colors: {
  custom: {
    50: '#ac6fb2',
    500: '#862f91',
    950: '#000000',
  },
}
SCSS
$custom: #862f91;
$custom-light: #ac6fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#862f91",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 293.265,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47238,
    "c": 0.1696,
    "h": 323
  },
  "luminance": 0.09146
}

Semantic roles & 50–950 ramp

primary
#862F91
secondary
#6FB665
accent
#DB4D5D
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #862F91

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

Preview Lab → · Contrast checker → · Palette generator →

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