#862EAF#862EAF

#862EAF is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.199 H 312.5°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#862EAF
RGBrgb(134, 46, 175)
HSLhsl(281, 58%, 43%)
HSVhsv(281, 74%, 69%)
CMYKcmyk(23.4%, 73.7%, 0%, 31.4%)
CIE-LABlab(38.05, 57.01, -51.84)
CIE-LCHlch(38.05, 77.06, 317.72°)
OKLaboklab(49.13% 0.1344 -0.1465)
OKLCHoklch(49.13% 0.199 312.5)
XYZxyz(18.5450, 10.1180, 41.5252)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862EAF #57AF2E
analogous
#452EAF #862EAF #AF2E97
triadic
#862EAF #AF862E #2EAF86
tetradic
#862EAF #AF452E #57AF2E #2E97AF
square
#862EAF #AF452E #57AF2E #2E97AF
split-complementary
#862EAF #97AF2E #2EAF45
monochromatic
#3C154E #61217F #862EAF #A54BD0 #BD7BDC

Accessibility & contrast

On white

6.95
#862EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#862EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862EAF
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862EAF#FFFFFF#000000##FFFFFF
##862EAF1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#1F5BAC
Tritanopia (blue-blind)
#814B6C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #862eaf;
/* rgb */ color: rgb(134, 46, 175);
/* oklch */ color: oklch(49.1% 0.199 312.5);
Tailwind
colors: {
  custom: {
    50: '#ad6fc8',
    500: '#862eaf',
    950: '#000000',
  },
}
SCSS
$custom: #862eaf;
$custom-light: #ad6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#862eaf",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 280.93,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49134,
    "c": 0.19879,
    "h": 312.5
  },
  "luminance": 0.10117
}

Semantic roles & 50–950 ramp

primary
#862EAF
secondary
#8EC574
accent
#E24678
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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