#862797#862797

#862797 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.8% C 0.185 H 321.1°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#862797
RGBrgb(134, 39, 151)
HSLhsl(291, 59%, 37%)
HSVhsv(291, 74%, 59%)
CMYKcmyk(11.3%, 74.2%, 0%, 40.8%)
CIE-LABlab(35.51, 54.88, -41.50)
CIE-LCHlch(35.51, 68.80, 322.90°)
OKLaboklab(46.81% 0.1439 -0.1161)
OKLCHoklch(46.81% 0.185 321.1)
XYZxyz(16.1423, 8.7546, 30.1117)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862797 #389727
analogous
#4E2797 #862797 #972770
triadic
#862797 #978627 #279786
tetradic
#862797 #974E27 #389727 #277097
square
#862797 #974E27 #389727 #277097
split-complementary
#862797 #709727 #27974E
monochromatic
#300E36 #5B1A66 #862797 #B134C8 #C562D6

Accessibility & contrast

On white

7.63
#862797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#862797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862797
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862797#FFFFFF#000000##FFFFFF
##8627971.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#345794
Tritanopia (blue-blind)
#873C5D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #862797;
/* rgb */ color: rgb(134, 39, 151);
/* oklch */ color: oklch(46.8% 0.185 321.1);
Tailwind
colors: {
  custom: {
    50: '#ad6bb6',
    500: '#862797',
    950: '#000000',
  },
}
SCSS
$custom: #862797;
$custom-light: #ad6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#862797",
  "rgb": {
    "r": 134,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 290.893,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46813,
    "c": 0.18493,
    "h": 321.1
  },
  "luminance": 0.08754
}

Semantic roles & 50–950 ramp

primary
#862797
secondary
#6CBC5E
accent
#E2465D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #862797

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

Preview Lab → · Contrast checker → · Palette generator →

#862797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva