#862EAB#862EAB

#862EAB is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.195 H 313.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#862EAB
RGBrgb(134, 46, 171)
HSLhsl(282, 58%, 43%)
HSVhsv(282, 73%, 67%)
CMYKcmyk(21.6%, 73.1%, 0%, 32.9%)
CIE-LABlab(37.78, 56.17, -49.91)
CIE-LCHlch(37.78, 75.14, 318.38°)
OKLaboklab(48.85% 0.1349 -0.1408)
OKLCHoklch(48.85% 0.195 313.8)
XYZxyz(18.1579, 9.9632, 39.4868)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862EAB #53AB2E
analogous
#472EAB #862EAB #AB2E92
triadic
#862EAB #AB862E #2EAB86
tetradic
#862EAB #AB472E #53AB2E #2E92AB
square
#862EAB #AB472E #53AB2E #2E92AB
split-complementary
#862EAB #92AB2E #2EAB47
monochromatic
#3A144B #60217B #862EAB #A648CE #BE79DB

Accessibility & contrast

On white

7.02
#862EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#862EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862EAB
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862EAB#FFFFFF#000000##FFFFFF
##862EAB1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#255BA8
Tritanopia (blue-blind)
#82496A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #862eab;
/* rgb */ color: rgb(134, 46, 171);
/* oklch */ color: oklch(48.8% 0.195 313.8);
Tailwind
colors: {
  custom: {
    50: '#ad6fc5',
    500: '#862eab',
    950: '#000000',
  },
}
SCSS
$custom: #862eab;
$custom-light: #ad6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#862eab",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 282.24,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48849,
    "c": 0.19502,
    "h": 313.8
  },
  "luminance": 0.09963
}

Semantic roles & 50–950 ramp

primary
#862EAB
secondary
#8AC372
accent
#E14775
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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