#862684#862684

#862684 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.5% C 0.170 H 328.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#862684
RGBrgb(134, 38, 132)
HSLhsl(301, 56%, 34%)
HSVhsv(301, 72%, 53%)
CMYKcmyk(0%, 71.6%, 1.5%, 47.5%)
CIE-LABlab(34.23, 51.79, -31.84)
CIE-LCHlch(34.23, 60.80, 328.42°)
OKLaboklab(45.54% 0.1454 -0.088)
OKLCHoklch(45.54% 0.17 328.8)
XYZxyz(14.6893, 8.1216, 22.6193)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862684 #268628
analogous
#582686 #862684 #862654
triadic
#862684 #848626 #268486
tetradic
#862684 #865826 #268628 #265486
square
#862684 #865826 #268628 #265486
split-complementary
#862684 #548626 #268658
monochromatic
#270B26 #561855 #862684 #B634B3 #CF57CD

Accessibility & contrast

On white

8.00
#862684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#862684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862684
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862684#FFFFFF#000000##FFFFFF
##8626841.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194887
Deuteranopia (green-blind)
#405582
Tritanopia (blue-blind)
#8B3352
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #862684;
/* rgb */ color: rgb(134, 38, 132);
/* oklch */ color: oklch(45.5% 0.170 328.8);
Tailwind
colors: {
  custom: {
    50: '#ac6aa8',
    500: '#862684',
    950: '#000000',
  },
}
SCSS
$custom: #862684;
$custom-light: #ac6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#862684",
  "rgb": {
    "r": 134,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 301.25,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45535,
    "c": 0.16994,
    "h": 328.8
  },
  "luminance": 0.08121
}

Semantic roles & 50–950 ramp

primary
#862684
secondary
#54B456
accent
#DF4C49
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #862684

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

Preview Lab → · Contrast checker → · Palette generator →

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