#862BA3#862BA3

#862BA3 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.191 H 316.6°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#862BA3
RGBrgb(134, 43, 163)
HSLhsl(286, 58%, 40%)
HSVhsv(286, 74%, 64%)
CMYKcmyk(17.8%, 73.6%, 0%, 36.1%)
CIE-LABlab(36.82, 55.72, -46.65)
CIE-LCHlch(36.82, 72.67, 320.06°)
OKLaboklab(48% 0.1388 -0.1313)
OKLCHoklch(48% 0.191 316.6)
XYZxyz(17.3052, 9.4411, 35.5540)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862BA3 #48A32B
analogous
#4A2BA3 #862BA3 #A32B84
triadic
#862BA3 #A3862B #2BA386
tetradic
#862BA3 #A34A2B #48A32B #2B84A3
square
#862BA3 #A34A2B #48A32B #2B84A3
split-complementary
#862BA3 #84A32B #2BA34A
monochromatic
#361142 #5E1E73 #862BA3 #AA3FCC #C06FD9

Accessibility & contrast

On white

7.27
#862BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#862BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862BA3
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862BA3#FFFFFF#000000##FFFFFF
##862BA31.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#2C59A0
Tritanopia (blue-blind)
#844465
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #862ba3;
/* rgb */ color: rgb(134, 43, 163);
/* oklch */ color: oklch(48.0% 0.191 316.6);
Tailwind
colors: {
  custom: {
    50: '#ad6ebf',
    500: '#862ba3',
    950: '#000000',
  },
}
SCSS
$custom: #862ba3;
$custom-light: #ad6ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#862ba3",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 285.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47998,
    "c": 0.19108,
    "h": 316.6
  },
  "luminance": 0.0944
}

Semantic roles & 50–950 ramp

primary
#862BA3
secondary
#7FC06A
accent
#E1466C
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #862BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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