#862697#862697

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

Color values

HEX#862697
RGBrgb(134, 38, 151)
HSLhsl(291, 60%, 37%)
HSVhsv(291, 75%, 59%)
CMYKcmyk(11.3%, 74.8%, 0%, 40.8%)
CIE-LABlab(35.38, 55.24, -41.70)
CIE-LCHlch(35.38, 69.21, 322.95°)
OKLaboklab(46.72% 0.1449 -0.1167)
OKLCHoklch(46.72% 0.186 321.1)
XYZxyz(16.1099, 8.6898, 30.1009)
Luminance0.0869 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862697 #379726
analogous
#4D2697 #862697 #972670
triadic
#862697 #978626 #269786
tetradic
#862697 #974D26 #379726 #267097
square
#862697 #974D26 #379726 #267097
split-complementary
#862697 #709726 #26974D
monochromatic
#2F0D35 #5B1A66 #862697 #B132C8 #C560D7

Accessibility & contrast

On white

7.67
#862697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#862697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862697
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862697#FFFFFF#000000##FFFFFF
##8626971.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#335794
Tritanopia (blue-blind)
#873C5D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #862697;
/* rgb */ color: rgb(134, 38, 151);
/* oklch */ color: oklch(46.7% 0.186 321.1);
Tailwind
colors: {
  custom: {
    50: '#ad6bb6',
    500: '#862697',
    950: '#000000',
  },
}
SCSS
$custom: #862697;
$custom-light: #ad6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#862697",
  "rgb": {
    "r": 134,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 290.973,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46723,
    "c": 0.18605,
    "h": 321.1
  },
  "luminance": 0.08689
}

Semantic roles & 50–950 ramp

primary
#862697
secondary
#6BBC5C
accent
#E3455D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #862697

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

Preview Lab → · Contrast checker → · Palette generator →

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