#862897#862897

#862897 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.184 H 321.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#862897
RGBrgb(134, 40, 151)
HSLhsl(291, 58%, 37%)
HSVhsv(291, 74%, 59%)
CMYKcmyk(11.3%, 73.5%, 0%, 40.8%)
CIE-LABlab(35.64, 54.51, -41.29)
CIE-LCHlch(35.64, 68.38, 322.86°)
OKLaboklab(46.91% 0.1429 -0.1155)
OKLCHoklch(46.91% 0.184 321)
XYZxyz(16.1756, 8.8211, 30.1228)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862897 #399728
analogous
#4F2897 #862897 #972870
triadic
#862897 #978628 #289786
tetradic
#862897 #974F28 #399728 #287097
square
#862897 #974F28 #399728 #287097
split-complementary
#862897 #709728 #28974F
monochromatic
#300E36 #5B1B67 #862897 #B135C7 #C464D6

Accessibility & contrast

On white

7.60
#862897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#862897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862897
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862897#FFFFFF#000000##FFFFFF
##8628971.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#355794
Tritanopia (blue-blind)
#873D5D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #862897;
/* rgb */ color: rgb(134, 40, 151);
/* oklch */ color: oklch(46.9% 0.184 321.0);
Tailwind
colors: {
  custom: {
    50: '#ad6cb6',
    500: '#862897',
    950: '#000000',
  },
}
SCSS
$custom: #862897;
$custom-light: #ad6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#862897",
  "rgb": {
    "r": 134,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 290.811,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46906,
    "c": 0.18377,
    "h": 321
  },
  "luminance": 0.0882
}

Semantic roles & 50–950 ramp

primary
#862897
secondary
#6DBC5F
accent
#E1465E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #862897

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

Preview Lab → · Contrast checker → · Palette generator →

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