#862BA6#862BA6

#862BA6 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.194 H 315.6°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#862BA6
RGBrgb(134, 43, 166)
HSLhsl(284, 59%, 41%)
HSVhsv(284, 74%, 65%)
CMYKcmyk(19.3%, 74.1%, 0%, 34.9%)
CIE-LABlab(37.02, 56.32, -48.13)
CIE-LCHlch(37.02, 74.09, 319.48°)
OKLaboklab(48.21% 0.1385 -0.1356)
OKLCHoklch(48.21% 0.194 315.6)
XYZxyz(17.5772, 9.5499, 36.9864)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862BA6 #4BA62B
analogous
#482BA6 #862BA6 #A62B88
triadic
#862BA6 #A6862B #2BA686
tetradic
#862BA6 #A6482B #4BA62B #2B88A6
square
#862BA6 #A6482B #4BA62B #2B88A6
split-complementary
#862BA6 #88A62B #2BA648
monochromatic
#381245 #5F1E75 #862BA6 #A941CE #BF71DA

Accessibility & contrast

On white

7.22
#862BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#862BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862BA6
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862BA6#FFFFFF#000000##FFFFFF
##862BA61.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A9
Deuteranopia (green-blind)
#285AA3
Tritanopia (blue-blind)
#844566
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #862ba6;
/* rgb */ color: rgb(134, 43, 166);
/* oklch */ color: oklch(48.2% 0.194 315.6);
Tailwind
colors: {
  custom: {
    50: '#ad6ec1',
    500: '#862ba6',
    950: '#000000',
  },
}
SCSS
$custom: #862ba6;
$custom-light: #ad6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#862ba6",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 284.39,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48205,
    "c": 0.19383,
    "h": 315.6
  },
  "luminance": 0.09549
}

Semantic roles & 50–950 ramp

primary
#862BA6
secondary
#82C16B
accent
#E2466E
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110812
muted
#807B81

Preview Lab

Preview with #862BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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