#862FAF#862FAF

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

Color values

HEX#862FAF
RGBrgb(134, 47, 175)
HSLhsl(281, 58%, 44%)
HSVhsv(281, 73%, 69%)
CMYKcmyk(23.4%, 73.1%, 0%, 31.4%)
CIE-LABlab(38.19, 56.61, -51.62)
CIE-LCHlch(38.19, 76.61, 317.64°)
OKLaboklab(49.23% 0.1334 -0.1459)
OKLCHoklch(49.23% 0.198 312.4)
XYZxyz(18.5845, 10.1970, 41.5384)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862FAF #58AF2F
analogous
#462FAF #862FAF #AF2F98
triadic
#862FAF #AF862F #2FAF86
tetradic
#862FAF #AF462F #58AF2F #2F98AF
square
#862FAF #AF462F #58AF2F #2F98AF
split-complementary
#862FAF #98AF2F #2FAF46
monochromatic
#3C154F #61227F #862FAF #A54CCF #BD7CDC

Accessibility & contrast

On white

6.91
#862FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#862FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862FAF
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862FAF#FFFFFF#000000##FFFFFF
##862FAF1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#205CAC
Tritanopia (blue-blind)
#814B6C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #862faf;
/* rgb */ color: rgb(134, 47, 175);
/* oklch */ color: oklch(49.2% 0.198 312.4);
Tailwind
colors: {
  custom: {
    50: '#ad70c8',
    500: '#862faf',
    950: '#000000',
  },
}
SCSS
$custom: #862faf;
$custom-light: #ad70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#862faf",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 280.781,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49233,
    "c": 0.19764,
    "h": 312.4
  },
  "luminance": 0.10197
}

Semantic roles & 50–950 ramp

primary
#862FAF
secondary
#8FC475
accent
#E14778
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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