#862AA9#862AA9

#862AA9 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.198 H 314.7°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#862AA9
RGBrgb(134, 42, 169)
HSLhsl(283, 60%, 41%)
HSVhsv(283, 75%, 66%)
CMYKcmyk(20.7%, 75.1%, 0%, 33.7%)
CIE-LABlab(37.10, 57.31, -49.81)
CIE-LCHlch(37.10, 75.93, 319.01°)
OKLaboklab(48.32% 0.139 -0.1405)
OKLCHoklch(48.32% 0.198 314.7)
XYZxyz(17.8197, 9.5895, 38.4407)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862AA9 #4DA92A
analogous
#472AA9 #862AA9 #A92A8D
triadic
#862AA9 #A9862A #2AA986
tetradic
#862AA9 #A9472A #4DA92A #2A8DA9
square
#862AA9 #A9472A #4DA92A #2A8DA9
split-complementary
#862AA9 #8DA92A #2AA947
monochromatic
#381247 #5F1E78 #862AA9 #A841D0 #BF72DC

Accessibility & contrast

On white

7.20
#862AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#862AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862AA9
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862AA9#FFFFFF#000000##FFFFFF
##862AA91.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#235AA6
Tritanopia (blue-blind)
#834668
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #862aa9;
/* rgb */ color: rgb(134, 42, 169);
/* oklch */ color: oklch(48.3% 0.198 314.7);
Tailwind
colors: {
  custom: {
    50: '#ad6dc3',
    500: '#862aa9',
    950: '#000000',
  },
}
SCSS
$custom: #862aa9;
$custom-light: #ad6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#862aa9",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 283.465,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48323,
    "c": 0.19769,
    "h": 314.7
  },
  "luminance": 0.09589
}

Semantic roles & 50–950 ramp

primary
#862AA9
secondary
#84C36C
accent
#E34470
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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