#862FAA#862FAA

#862FAA is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.193 H 314.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#862FAA
RGBrgb(134, 47, 170)
HSLhsl(282, 57%, 43%)
HSVhsv(282, 72%, 67%)
CMYKcmyk(21.2%, 72.4%, 0%, 33.3%)
CIE-LABlab(37.85, 55.56, -49.19)
CIE-LCHlch(37.85, 74.21, 318.48°)
OKLaboklab(48.88% 0.134 -0.1388)
OKLCHoklch(48.88% 0.193 314)
XYZxyz(18.1025, 10.0042, 38.9998)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862FAA #53AA2F
analogous
#482FAA #862FAA #AA2F90
triadic
#862FAA #AA862F #2FAA86
tetradic
#862FAA #AA482F #53AA2F #2F90AA
square
#862FAA #AA482F #53AA2F #2F90AA
split-complementary
#862FAA #90AA2F #2FAA48
monochromatic
#3A144A #60227A #862FAA #A649CD #BE79DA

Accessibility & contrast

On white

7.00
#862FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#862FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862FAA
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862FAA#FFFFFF#000000##FFFFFF
##862FAA1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#275BA7
Tritanopia (blue-blind)
#83496A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #862faa;
/* rgb */ color: rgb(134, 47, 170);
/* oklch */ color: oklch(48.9% 0.193 314.0);
Tailwind
colors: {
  custom: {
    50: '#ad70c4',
    500: '#862faa',
    950: '#000000',
  },
}
SCSS
$custom: #862faa;
$custom-light: #ad70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#862faa",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 282.439,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4888,
    "c": 0.19291,
    "h": 314
  },
  "luminance": 0.10004
}

Semantic roles & 50–950 ramp

primary
#862FAA
secondary
#8AC272
accent
#E04874
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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