#862FAC#862FAC

#862FAC is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.195 H 313.4°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#862FAC
RGBrgb(134, 47, 172)
HSLhsl(282, 57%, 43%)
HSVhsv(282, 73%, 67%)
CMYKcmyk(22.1%, 72.7%, 0%, 32.5%)
CIE-LABlab(37.99, 55.98, -50.16)
CIE-LCHlch(37.99, 75.17, 318.14°)
OKLaboklab(49.02% 0.1338 -0.1416)
OKLCHoklch(49.02% 0.195 313.4)
XYZxyz(18.2931, 10.0805, 40.0038)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862FAC #55AC2F
analogous
#472FAC #862FAC #AC2F93
triadic
#862FAC #AC862F #2FAC86
tetradic
#862FAC #AC472F #55AC2F #2F93AC
square
#862FAC #AC472F #55AC2F #2F93AC
split-complementary
#862FAC #93AC2F #2FAC47
monochromatic
#3B154C #61227C #862FAC #A64BCE #BE7BDB

Accessibility & contrast

On white

6.96
#862FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#862FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862FAC
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862FAC#FFFFFF#000000##FFFFFF
##862FAC1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#245BA9
Tritanopia (blue-blind)
#824A6B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #862fac;
/* rgb */ color: rgb(134, 47, 172);
/* oklch */ color: oklch(49.0% 0.195 313.4);
Tailwind
colors: {
  custom: {
    50: '#ad70c5',
    500: '#862fac',
    950: '#000000',
  },
}
SCSS
$custom: #862fac;
$custom-light: #ad70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#862fac",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 281.76,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4902,
    "c": 0.19479,
    "h": 313.4
  },
  "luminance": 0.1008
}

Semantic roles & 50–950 ramp

primary
#862FAC
secondary
#8CC374
accent
#E04776
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862FAC

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

Preview Lab → · Contrast checker → · Palette generator →

#862FAC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva