#862AB6#862AB6

#862AB6 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.3% C 0.210 H 310.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#862AB6
RGBrgb(134, 42, 182)
HSLhsl(279, 63%, 44%)
HSVhsv(279, 77%, 71%)
CMYKcmyk(26.4%, 76.9%, 0%, 28.6%)
CIE-LABlab(38.03, 60.01, -56.04)
CIE-LCHlch(38.03, 82.10, 316.96°)
OKLaboklab(49.27% 0.1368 -0.1588)
OKLCHoklch(49.27% 0.21 310.7)
XYZxyz(19.1013, 10.1021, 45.1906)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862AB6 #5AB62A
analogous
#402AB6 #862AB6 #B62AA0
triadic
#862AB6 #B6862A #2AB686
tetradic
#862AB6 #B6402A #5AB62A #2AA0B6
square
#862AB6 #B6402A #5AB62A #2AA0B6
split-complementary
#862AB6 #A0B62A #2AB640
monochromatic
#3D1353 #611F84 #862AB6 #A548D5 #BD7AE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##862AB6#FFFFFF#000000##FFFFFF
##862AB61.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)
#0055BA
Deuteranopia (green-blind)
#035BB3
Tritanopia (blue-blind)
#7F4C6F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #862ab6;
/* rgb */ color: rgb(134, 42, 182);
/* oklch */ color: oklch(49.3% 0.210 310.7);
Tailwind
colors: {
  custom: {
    50: '#ae6ecd',
    500: '#862ab6',
    950: '#000000',
  },
}
SCSS
$custom: #862ab6;
$custom-light: #ae6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#862ab6",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 279.429,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49273,
    "c": 0.20965,
    "h": 310.7
  },
  "luminance": 0.10102
}

Semantic roles & 50–950 ramp

primary
#862AB6
secondary
#91C873
accent
#E6427A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #862AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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