#862AAC#862AAC

#862AAC is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.5% C 0.200 H 313.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#862AAC
RGBrgb(134, 42, 172)
HSLhsl(282, 61%, 42%)
HSVhsv(282, 76%, 67%)
CMYKcmyk(22.1%, 75.6%, 0%, 32.5%)
CIE-LABlab(37.30, 57.93, -51.26)
CIE-LCHlch(37.30, 77.35, 318.49°)
OKLaboklab(48.54% 0.1386 -0.1448)
OKLCHoklch(48.54% 0.2 313.7)
XYZxyz(18.1046, 9.7034, 39.9410)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862AAC #50AC2A
analogous
#452AAC #862AAC #AC2A91
triadic
#862AAC #AC862A #2AAC86
tetradic
#862AAC #AC452A #50AC2A #2A91AC
square
#862AAC #AC452A #50AC2A #2A91AC
split-complementary
#862AAC #91AC2A #2AAC45
monochromatic
#39124A #601E7B #862AAC #A742D1 #BE73DD

Accessibility & contrast

On white

7.14
#862AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#862AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862AAC
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862AAC#FFFFFF#000000##FFFFFF
##862AAC1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#1F5AA9
Tritanopia (blue-blind)
#824769
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #862aac;
/* rgb */ color: rgb(134, 42, 172);
/* oklch */ color: oklch(48.5% 0.200 313.7);
Tailwind
colors: {
  custom: {
    50: '#ae6dc5',
    500: '#862aac',
    950: '#000000',
  },
}
SCSS
$custom: #862aac;
$custom-light: #ae6dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#862aac",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 282.462,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48537,
    "c": 0.20044,
    "h": 313.7
  },
  "luminance": 0.09703
}

Semantic roles & 50–950 ramp

primary
#862AAC
secondary
#87C46D
accent
#E44473
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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