#862496#862496

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

Color values

HEX#862496
RGBrgb(134, 36, 150)
HSLhsl(292, 61%, 36%)
HSVhsv(292, 76%, 59%)
CMYKcmyk(10.7%, 76%, 0%, 41.2%)
CIE-LABlab(35.07, 55.76, -41.59)
CIE-LCHlch(35.07, 69.56, 323.28°)
OKLaboklab(46.48% 0.1469 -0.1164)
OKLCHoklch(46.48% 0.187 321.6)
XYZxyz(15.9668, 8.5330, 29.6543)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862496 #349624
analogous
#4D2496 #862496 #96246D
triadic
#862496 #968624 #249686
tetradic
#862496 #964D24 #349624 #246D96
square
#862496 #964D24 #349624 #246D96
split-complementary
#862496 #6D9624 #24964D
monochromatic
#2E0C33 #5A1865 #862496 #B230C7 #C75CD8

Accessibility & contrast

On white

7.76
#862496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#862496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862496
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862496#FFFFFF#000000##FFFFFF
##8624961.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #862496;
/* rgb */ color: rgb(134, 36, 150);
/* oklch */ color: oklch(46.5% 0.187 321.6);
Tailwind
colors: {
  custom: {
    50: '#ad6ab5',
    500: '#862496',
    950: '#000000',
  },
}
SCSS
$custom: #862496;
$custom-light: #ad6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#862496",
  "rgb": {
    "r": 134,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 291.579,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46481,
    "c": 0.18738,
    "h": 321.6
  },
  "luminance": 0.08532
}

Semantic roles & 50–950 ramp

primary
#862496
secondary
#67BD59
accent
#E4435A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #862496

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

Preview Lab → · Contrast checker → · Palette generator →

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