#862491#862491

#862491 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.183 H 323.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#862491
RGBrgb(134, 36, 145)
HSLhsl(294, 60%, 35%)
HSVhsv(294, 75%, 57%)
CMYKcmyk(7.6%, 75.2%, 0%, 43.1%)
CIE-LABlab(34.75, 54.84, -39.04)
CIE-LCHlch(34.75, 67.31, 324.55°)
OKLaboklab(46.15% 0.1472 -0.1089)
OKLCHoklch(46.15% 0.183 323.5)
XYZxyz(15.5728, 8.3754, 27.5789)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862491 #2F9124
analogous
#4F2491 #862491 #912465
triadic
#862491 #918624 #249186
tetradic
#862491 #914F24 #2F9124 #246591
square
#862491 #914F24 #2F9124 #246591
split-complementary
#862491 #659124 #24914F
monochromatic
#2B0C2F #591860 #862491 #B330C2 #C959D6

Accessibility & contrast

On white

7.85
#862491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#862491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862491
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862491#FFFFFF#000000##FFFFFF
##8624911.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#37568E
Tritanopia (blue-blind)
#883859
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862491;
/* rgb */ color: rgb(134, 36, 145);
/* oklch */ color: oklch(46.2% 0.183 323.5);
Tailwind
colors: {
  custom: {
    50: '#ad6ab2',
    500: '#862491',
    950: '#000000',
  },
}
SCSS
$custom: #862491;
$custom-light: #ad6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#862491",
  "rgb": {
    "r": 134,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 293.945,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46154,
    "c": 0.18313,
    "h": 323.5
  },
  "luminance": 0.08374
}

Semantic roles & 50–950 ramp

primary
#862491
secondary
#60BA56
accent
#E34454
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #862491

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

Preview Lab → · Contrast checker → · Palette generator →

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