#862696#862696

#862696 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.185 H 321.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#862696
RGBrgb(134, 38, 150)
HSLhsl(291, 60%, 37%)
HSVhsv(291, 75%, 59%)
CMYKcmyk(10.7%, 74.7%, 0%, 41.2%)
CIE-LABlab(35.32, 55.05, -41.19)
CIE-LCHlch(35.32, 68.76, 323.19°)
OKLaboklab(46.66% 0.145 -0.1152)
OKLCHoklch(46.66% 0.185 321.5)
XYZxyz(16.0290, 8.6575, 29.6750)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862696 #369626
analogous
#4E2696 #862696 #96266E
triadic
#862696 #968626 #269686
tetradic
#862696 #964E26 #369626 #266E96
square
#862696 #964E26 #369626 #266E96
split-complementary
#862696 #6E9626 #26964E
monochromatic
#2F0D34 #5A1A65 #862696 #B232C7 #C660D7

Accessibility & contrast

On white

7.69
#862696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#862696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862696
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862696#FFFFFF#000000##FFFFFF
##8626961.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#345793
Tritanopia (blue-blind)
#873B5C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #862696;
/* rgb */ color: rgb(134, 38, 150);
/* oklch */ color: oklch(46.7% 0.185 321.5);
Tailwind
colors: {
  custom: {
    50: '#ad6bb5',
    500: '#862696',
    950: '#000000',
  },
}
SCSS
$custom: #862696;
$custom-light: #ad6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#862696",
  "rgb": {
    "r": 134,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 291.429,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46657,
    "c": 0.18518,
    "h": 321.5
  },
  "luminance": 0.08657
}

Semantic roles & 50–950 ramp

primary
#862696
secondary
#6ABC5C
accent
#E3455C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #862696

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

Preview Lab → · Contrast checker → · Palette generator →

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