#862FAE#862FAE

#862FAE is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.197 H 312.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#862FAE
RGBrgb(134, 47, 174)
HSLhsl(281, 57%, 43%)
HSVhsv(281, 73%, 68%)
CMYKcmyk(23%, 73%, 0%, 31.8%)
CIE-LABlab(38.12, 56.40, -51.13)
CIE-LCHlch(38.12, 76.13, 317.81°)
OKLaboklab(49.16% 0.1335 -0.1444)
OKLCHoklch(49.16% 0.197 312.7)
XYZxyz(18.4866, 10.1579, 41.0230)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862FAE #57AE2F
analogous
#462FAE #862FAE #AE2F96
triadic
#862FAE #AE862F #2FAE86
tetradic
#862FAE #AE462F #57AE2F #2F96AE
square
#862FAE #AE462F #57AE2F #2F96AE
split-complementary
#862FAE #96AE2F #2FAE46
monochromatic
#3C154E #61227E #862FAE #A54CCF #BD7CDC

Accessibility & contrast

On white

6.93
#862FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#862FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862FAE
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862FAE#FFFFFF#000000##FFFFFF
##862FAE1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#215CAB
Tritanopia (blue-blind)
#824B6C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #862fae;
/* rgb */ color: rgb(134, 47, 174);
/* oklch */ color: oklch(49.2% 0.197 312.7);
Tailwind
colors: {
  custom: {
    50: '#ad70c7',
    500: '#862fae',
    950: '#000000',
  },
}
SCSS
$custom: #862fae;
$custom-light: #ad70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#862fae",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 281.102,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49162,
    "c": 0.1967,
    "h": 312.7
  },
  "luminance": 0.10157
}

Semantic roles & 50–950 ramp

primary
#862FAE
secondary
#8EC475
accent
#E14777
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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