#862397#862397

#862397 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.189 H 321.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#862397
RGBrgb(134, 35, 151)
HSLhsl(291, 62%, 36%)
HSVhsv(291, 77%, 59%)
CMYKcmyk(11.3%, 76.8%, 0%, 40.8%)
CIE-LABlab(35.01, 56.29, -42.29)
CIE-LCHlch(35.01, 70.40, 323.08°)
OKLaboklab(46.46% 0.1477 -0.1184)
OKLCHoklch(46.46% 0.189 321.3)
XYZxyz(16.0178, 8.5056, 30.0702)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862397 #349723
analogous
#4C2397 #862397 #97236E
triadic
#862397 #978623 #239786
tetradic
#862397 #974C23 #349723 #236E97
square
#862397 #974C23 #349723 #236E97
split-complementary
#862397 #6E9723 #23974C
monochromatic
#2E0C34 #5A1765 #862397 #B22FC9 #C75BD9

Accessibility & contrast

On white

7.77
#862397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#862397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862397
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862397#FFFFFF#000000##FFFFFF
##8623971.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#325694
Tritanopia (blue-blind)
#873A5C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862397;
/* rgb */ color: rgb(134, 35, 151);
/* oklch */ color: oklch(46.5% 0.189 321.3);
Tailwind
colors: {
  custom: {
    50: '#ad69b6',
    500: '#862397',
    950: '#000000',
  },
}
SCSS
$custom: #862397;
$custom-light: #ad69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#862397",
  "rgb": {
    "r": 134,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 291.207,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46463,
    "c": 0.18929,
    "h": 321.3
  },
  "luminance": 0.08505
}

Semantic roles & 50–950 ramp

primary
#862397
secondary
#67BE58
accent
#E5425A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #862397

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

Preview Lab → · Contrast checker → · Palette generator →

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